|
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 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WLDFWatchNotificationBean
Configures and controls the WebLogic Diagnostic Framework (WLDF) policy and action component; creates and deletes policy definitions; and defines the rules that apply to specific policies.
Note: As of WebLogic Server 12.2.1, the terms watch and notification are replaced by policy and action, respectively. However, the definition of these terms has not changed.
Method Summary | |
---|---|
abstract WLDFActionBean |
createAction(String name, String type) Creates an action bean with the specified name. |
abstract WLDFImageNotificationBean |
createImageNotification(String name) Creates an Image action configuration with the specified name. |
abstract WLDFJMSNotificationBean |
createJMSNotification(String name) Creates an JMS action configuration with the specified name. |
abstract WLDFJMXNotificationBean |
createJMXNotification(String name) Creates an JMX notification configuration with the specified name. |
abstract WLDFLogActionBean |
createLogAction(String name) Creates an Log action configuration with the specified name. |
abstract WLDFRESTNotificationBean |
createRESTNotification(String name) Creates an REST action configuration with the specified name. |
abstract WLDFScaleDownActionBean |
createScaleDownAction(String name) Creates a scale-down action configuration with the specified name. |
abstract WLDFScaleUpActionBean |
createScaleUpAction(String name) Creates a scale-up action configuration with the specified name. |
abstract WLDFScriptActionBean |
createScriptAction(String name) Creates an Script action configuration with the specified name. |
abstract WLDFSMTPNotificationBean |
createSMTPNotification(String name) Creates an SMTP action configuration with the specified name. |
abstract WLDFSNMPNotificationBean |
createSNMPNotification(String name) Creates an SNMP action configuration with the specified name. |
abstract WLDFWatchBean |
createWatch(String name) Creates a policy configuration with the given name. |
abstract void |
destroyAction(WLDFActionBean action) Deletes the specified action configuration defined in this deployment. |
abstract void |
destroyImageNotification(WLDFImageNotificationBean notification) Deletes the specified Image action configuration defined in this deployment. |
abstract void |
destroyJMSNotification(WLDFJMSNotificationBean notification) Deletes the specified JMS action configuration defined in this deployment. |
abstract void |
destroyJMXNotification(WLDFJMXNotificationBean notification) Deletes the specified JMX notification configuration defined in this deployment. |
abstract void |
destroyLogAction(WLDFLogActionBean action) Deletes the specified Log action configuration defined in this deployment. |
abstract void |
destroyRESTNotification(WLDFRESTNotificationBean notification) Deletes the specified REST action configuration defined in this deployment. |
abstract void |
destroyScaleDownAction(WLDFScaleDownActionBean notification) Deletes the specified Scale-down action configuration defined in this deployment. |
abstract void |
destroyScaleUpAction(WLDFScaleUpActionBean notification) Deletes the specified Scale-up action configuration defined in this deployment. |
abstract void |
destroyScriptAction(WLDFScriptActionBean notification) Deletes the specified Script action configuration defined in this deployment. |
abstract void |
destroySMTPNotification(WLDFSMTPNotificationBean notification) Deletes the specified SMTP action configuration defined in this deployment. |
abstract void |
destroySNMPNotification(WLDFSNMPNotificationBean notification) Deletes the specified SNMP action configuration defined in this deployment. |
abstract void |
destroyWatch(WLDFWatchBean watch) Deletes the specified policy configuration defined in this deployment. |
abstract WLDFActionBean[] |
getActions() The actions defined in this deployment. |
abstract WLDFImageNotificationBean[] |
getImageNotifications() The Image actions defined in this deployment. |
abstract WLDFJMSNotificationBean[] |
getJMSNotifications() The JMS actions defined in this deployment. |
abstract WLDFJMXNotificationBean[] |
getJMXNotifications() The JMX notification actions defined in this deployment. |
abstract WLDFLogActionBean[] |
getLogActions() The Log actions defined in this deployment. |
abstract String |
getLogWatchSeverity() The threshold severity level of log messages evaluated by log policies. |
abstract WLDFNotificationBean[] |
getNotifications() The actions defined in this deployment. |
abstract WLDFRESTNotificationBean[] |
getRESTNotifications() The REST actions defined in this deployment. |
abstract WLDFScaleDownActionBean[] |
getScaleDownActions() The Scale-down actions defined in this deployment. |
abstract WLDFScaleUpActionBean[] |
getScaleUpActions() The Scale-Up actions defined in this deployment. |
abstract WLDFScriptActionBean[] |
getScriptActions() The Script actions defined in this deployment. |
abstract String |
getSeverity() The default action severity level for all policies. |
abstract WLDFSMTPNotificationBean[] |
getSMTPNotifications() The SMTP actions defined in this deployment. |
abstract WLDFSNMPNotificationBean[] |
getSNMPNotifications() The SNMP actions defined in this deployment. |
abstract WLDFWatchBean[] |
getWatches() The policies defined in this deployment. |
abstract boolean |
isEnabled() Specifies whether the policy and action component is enabled. |
abstract WLDFActionBean |
lookupAction(String name) Looks up an action with the given name. |
abstract WLDFActionBean[] |
lookupActions(String typeName) |
abstract WLDFImageNotificationBean |
lookupImageNotification(String name) Looks up the Image action configuration with the specified name. |
abstract WLDFJMSNotificationBean |
lookupJMSNotification(String name) Looks up the JMS action configuration with the given name. |
abstract WLDFJMXNotificationBean |
lookupJMXNotification(String name) Looks up the JMX notification action configuration with the specified name. |
abstract WLDFLogActionBean |
lookupLogAction(String name) Looks up the Log action configuration with the given name. |
abstract WLDFNotificationBean |
lookupNotification(String name) Looks up an action with the given name. |
abstract WLDFRESTNotificationBean |
lookupRESTNotification(String name) Looks up the REST action configuration with the given name. |
abstract WLDFScaleDownActionBean |
lookupScaleDownAction(String name) Looks up the Scale-down action configuration with the given name. |
abstract WLDFScaleUpActionBean |
lookupScaleUpAction(String name) Looks up the Scale-up action configuration with the given name. |
abstract WLDFScriptActionBean |
lookupScriptAction(String name) Looks up the Script action configuration with the given name. |
abstract WLDFSMTPNotificationBean |
lookupSMTPNotification(String name) Looks up the SMTP action configuration with the specified name. |
abstract WLDFSNMPNotificationBean |
lookupSNMPNotification(String name) Looks up the SNMP action configuration with the given name. |
abstract WLDFWatchBean |
lookupWatch(String name) Looks up a policy configuration with the given name. |
abstract void |
setEnabled(boolean enabled) Sets the value of the Enabled attribute. |
abstract void |
setLogWatchSeverity(String severity) Sets the value of the LogWatchSeverity attribute. |
abstract void |
setSeverity(String severity) Sets the value of the Severity attribute. |
Methods inherited from interface weblogic.diagnostics.descriptor.WLDFBean |
---|
getId, getName |
Method Detail |
---|
boolean isEnabled()
Specifies whether the policy and action component is enabled.
If true
(the default), all configured policies are activated, incoming data or events are evaluated against the policies, and actions are generated when policy conditions are met. If false
, all policies are rendered inactive.
void setEnabled(boolean enabled)
Sets the value of the Enabled attribute.
enabled
- The enabled state of the WatchNotification component.WLDFWatchNotificationBean.isEnabled()
String getSeverity()
The default action severity level for all policies. When a policy triggers, the severity level is delivered with the action.
The severity levels are the same levels used by the logging framework and the Severities
class. If no level is specified, the default value is Notice
.
void setSeverity(String severity)
Sets the value of the Severity attribute.
severity
- the default severity of the notifications fired when this watch evaluates to trueWLDFWatchNotificationBean.getSeverity()
String getLogWatchSeverity()
The threshold severity level of log messages evaluated by log policies. Messages with a lower severity than this value will be ignored and not evaluated against the policies.
Do not confuse LogWatchSeverity with Severity. LogWatchSeverity filters which log messages will be evaluated; Severity sets the default severity level for an action.
void setLogWatchSeverity(String severity)
Sets the value of the LogWatchSeverity attribute.
severity
- the threshold severity level of log messages evaluated by log watch rulesWLDFWatchNotificationBean.getLogWatchSeverity()
WLDFWatchBean[] getWatches()
The policies defined in this deployment.
WLDFWatchBean createWatch(String name)
Creates a policy configuration with the given name.
name
- the name of the watch configurationvoid destroyWatch(WLDFWatchBean watch)
Deletes the specified policy configuration defined in this deployment.
watch
- the watch configuration defined in this deploymentWLDFNotificationBean[] getNotifications()
The actions defined in this deployment.
WLDFNotificationBean lookupNotification(String name)
Looks up an action with the given name.
name
-WLDFActionBean createAction(String name, String type)
Creates an action bean with the specified name.
name
- The instance name for the action being createdtype
- The action typevoid destroyAction(WLDFActionBean action)
Deletes the specified action configuration defined in this deployment.
notification
- the action configuration defined in this deploymentWLDFActionBean[] getActions()
The actions defined in this deployment.
WLDFActionBean lookupAction(String name)
Looks up an action with the given name.
name
-WLDFActionBean[] lookupActions(String typeName)
typeName
-WLDFImageNotificationBean[] getImageNotifications()
The Image actions defined in this deployment.
WLDFImageNotificationBean createImageNotification(String name)
Creates an Image action configuration with the specified name.
name
- the name of the Image notification being createdvoid destroyImageNotification(WLDFImageNotificationBean notification)
Deletes the specified Image action configuration defined in this deployment.
notification
- the Image notification configuration defined in this deploymentWLDFImageNotificationBean lookupImageNotification(String name)
Looks up the Image action configuration with the specified name.
name
- the name of the Image notification being requestedWLDFJMSNotificationBean[] getJMSNotifications()
The JMS actions defined in this deployment.
WLDFJMSNotificationBean createJMSNotification(String name)
Creates an JMS action configuration with the specified name.
name
- the name of the JMS notification being createdvoid destroyJMSNotification(WLDFJMSNotificationBean notification)
Deletes the specified JMS action configuration defined in this deployment.
notification
- the JMS notification configuration defined in this deploymentWLDFJMSNotificationBean lookupJMSNotification(String name)
Looks up the JMS action configuration with the given name.
name
- the name of the JMS notification being requestedWLDFLogActionBean[] getLogActions()
The Log actions defined in this deployment.
WLDFLogActionBean createLogAction(String name)
Creates an Log action configuration with the specified name.
name
- the name of the Log action being createdvoid destroyLogAction(WLDFLogActionBean action)
Deletes the specified Log action configuration defined in this deployment.
notification
- the Log action configuration defined in this deploymentWLDFLogActionBean lookupLogAction(String name)
Looks up the Log action configuration with the given name.
name
- the name of the Log action being requestedWLDFJMXNotificationBean[] getJMXNotifications()
The JMX notification actions defined in this deployment.
WLDFJMXNotificationBean createJMXNotification(String name)
Creates an JMX notification configuration with the specified name.
name
- the name of the JMX notification being createdvoid destroyJMXNotification(WLDFJMXNotificationBean notification)
Deletes the specified JMX notification configuration defined in this deployment.
notification
- the JMX notification configuration defined in this deploymentWLDFJMXNotificationBean lookupJMXNotification(String name)
Looks up the JMX notification action configuration with the specified name.
name
- the name of the JMX notification being requestedWLDFSMTPNotificationBean[] getSMTPNotifications()
The SMTP actions defined in this deployment.
WLDFSMTPNotificationBean createSMTPNotification(String name)
Creates an SMTP action configuration with the specified name.
name
- the name of the SMTP notification being createdvoid destroySMTPNotification(WLDFSMTPNotificationBean notification)
Deletes the specified SMTP action configuration defined in this deployment.
notification
- the SMTP notification configuration defined in this deploymentWLDFSMTPNotificationBean lookupSMTPNotification(String name)
Looks up the SMTP action configuration with the specified name.
name
- the name of the SMTP notification being requestedWLDFSNMPNotificationBean[] getSNMPNotifications()
The SNMP actions defined in this deployment.
WLDFSNMPNotificationBean createSNMPNotification(String name)
Creates an SNMP action configuration with the specified name.
name
- the name of the SNMP notification being createdvoid destroySNMPNotification(WLDFSNMPNotificationBean notification)
Deletes the specified SNMP action configuration defined in this deployment.
notification
- the SNMP notification configuration defined in this deploymentWLDFSNMPNotificationBean lookupSNMPNotification(String name)
Looks up the SNMP action configuration with the given name.
name
- the name of the SNMP notification being requestedWLDFRESTNotificationBean[] getRESTNotifications()
The REST actions defined in this deployment.
WLDFRESTNotificationBean createRESTNotification(String name)
Creates an REST action configuration with the specified name.
name
- the name of the REST notification being createdvoid destroyRESTNotification(WLDFRESTNotificationBean notification)
Deletes the specified REST action configuration defined in this deployment.
notification
- the REST notification configuration defined in this deploymentWLDFRESTNotificationBean lookupRESTNotification(String name)
Looks up the REST action configuration with the given name.
name
- the name of the REST notification being requestedWLDFScaleUpActionBean[] getScaleUpActions()
The Scale-Up actions defined in this deployment.
WLDFScaleUpActionBean createScaleUpAction(String name)
Creates a scale-up action configuration with the specified name.
name
- the name of the Scale-up action being createdvoid destroyScaleUpAction(WLDFScaleUpActionBean notification)
Deletes the specified Scale-up action configuration defined in this deployment.
notification
- the Scale-up action configuration defined in this deploymentWLDFScaleDownActionBean lookupScaleDownAction(String name)
Looks up the Scale-down action configuration with the given name.
name
- the name of the Scale-down action being requestedWLDFScaleDownActionBean[] getScaleDownActions()
The Scale-down actions defined in this deployment.
WLDFScaleDownActionBean createScaleDownAction(String name)
Creates a scale-down action configuration with the specified name.
name
- the name of the Scale-down action being createdvoid destroyScaleDownAction(WLDFScaleDownActionBean notification)
Deletes the specified Scale-down action configuration defined in this deployment.
notification
- the Scale-down action configuration defined in this deploymentWLDFScaleUpActionBean lookupScaleUpAction(String name)
Looks up the Scale-up action configuration with the given name.
name
- the name of the Scaling action being requestedWLDFScriptActionBean[] getScriptActions()
The Script actions defined in this deployment.
WLDFScriptActionBean createScriptAction(String name)
Creates an Script action configuration with the specified name.
name
- the name of the Script action being createdvoid destroyScriptAction(WLDFScriptActionBean notification)
Deletes the specified Script action configuration defined in this deployment.
notification
- the Script action configuration defined in this deploymentWLDFScriptActionBean lookupScriptAction(String name)
Looks up the Script action configuration with the given name.
name
- the name of the Script action being requestedWLDFWatchBean lookupWatch(String name)
Looks up a policy configuration with the given name.
name
- the name of the policy being requested
|
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 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |