Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.diagnostics.descriptor
Interface WLDFNotificationBean

All Superinterfaces:
WLDFBean
All Known Subinterfaces:
WLDFActionBean, WLDFImageNotificationBean, WLDFJMSNotificationBean, WLDFJMXNotificationBean, WLDFLogActionBean, WLDFRESTNotificationBean, WLDFScaleDownActionBean, WLDFScaleUpActionBean, WLDFScalingActionBean, WLDFScriptActionBean, WLDFSMTPNotificationBean, WLDFSNMPNotificationBean

public interface WLDFNotificationBean
extends WLDFBean

Use this interface to define the base class for the different types of actions sent by a policy when it evaluates to true.


Method Summary
abstract  int getTimeout()
          The length of time, in seconds, that an action has to complete execution.
abstract  boolean isEnabled()
          Specifies whether this action is enabled.
abstract  void setEnabled(boolean enabled)
          Sets the value of the Enabled attribute.
abstract  void setTimeout(int timeout)
          Sets the timeout period for the action.

 

Methods inherited from interface weblogic.diagnostics.descriptor.WLDFBean
getId, getName

 

Method Detail

isEnabled

boolean isEnabled()

Specifies whether this action is enabled.

Returns:
the state of this action, true if enabled, false if disabled

setEnabled

void setEnabled(boolean enabled)

Sets the value of the Enabled attribute.

Parameters:
enabled - the state to which the action is set, true to enable, false to disable
See Also:
WLDFNotificationBean.isEnabled()

getTimeout

int getTimeout()

The length of time, in seconds, that an action has to complete execution. By default, the timeout period is 0, which disables the action timeout.

Returns:

setTimeout

void setTimeout(int timeout)

Sets the timeout period for the action.

Parameters:
timeout - The timeout period in seconds
See Also:
WLDFNotificationBean.getTimeout()

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09