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

Part Number E27170-02

weblogic.management.configuration
Interface SNMPStringMonitorMBean

All Superinterfaces:
ConfigurationMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, SNMPJMXMonitorMBean, SNMPTrapSourceMBean, WebLogicMBean

public interface SNMPStringMonitorMBean
extends SNMPJMXMonitorMBean

This class describes the criteria for a String-based Monitor. A notification is generated when this criteria is satisfied.

Changes take effect after you redeploy the module or restart the server.

Field Summary
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 String getStringToCompare()
          The string against which the value of the monitored attribute will be compared.
 boolean isNotifyDiffer()
          Generates a notification if the value of the monitored attribute and the value of String to Compare are different.
 boolean isNotifyMatch()
          Generates a notification if the value of the monitored attribute and the value of String to Compare are the same.
 void setNotifyDiffer(boolean flag)
          Sets the value of the NotifyDiffer attribute.
 void setNotifyMatch(boolean flag)
          Sets the value of the NotifyMatch attribute.
 void setStringToCompare(String stringtocompare)
          Sets the value of the StringToCompare attribute.
 
Methods inherited from interface weblogic.management.configuration.SNMPJMXMonitorMBean
getMonitoredAttributeName, getMonitoredMBeanName, getMonitoredMBeanType, getPollingInterval, setMonitoredAttributeName, setMonitoredMBeanName, setMonitoredMBeanType, setPollingInterval
 
Methods inherited from interface weblogic.management.configuration.SNMPTrapSourceMBean
addEnabledServer, getEnabledServers, removeEnabledServer, setEnabledServers
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
 

Method Detail

getStringToCompare

String getStringToCompare()

The string against which the value of the monitored attribute will be compared.

A notification is generated when the criteria specified by Notify Match or Notify Differ is satisfied.

Returns:
The stringToCompare value
This method can NOT set a value of zero length.

setStringToCompare

void setStringToCompare(String stringtocompare)
                        throws InvalidAttributeValueException,
                               ConfigurationException

Sets the value of the StringToCompare attribute.

Parameters:
stringtocompare - The new stringToCompare value
Throws:
InvalidAttributeValueException
ConfigurationException
See Also:
SNMPStringMonitorMBean.getStringToCompare()

isNotifyDiffer

boolean isNotifyDiffer()

Generates a notification if the value of the monitored attribute and the value of String to Compare are different.

Returns:
The notifyDiffer value
Default Value:
false

setNotifyDiffer

void setNotifyDiffer(boolean flag)

Sets the value of the NotifyDiffer attribute.

Parameters:
flag - The new notifyDiffer value
See Also:
SNMPStringMonitorMBean.isNotifyDiffer()

isNotifyMatch

boolean isNotifyMatch()

Generates a notification if the value of the monitored attribute and the value of String to Compare are the same.

Returns:
The notifyMatch value
Default Value:
false

setNotifyMatch

void setNotifyMatch(boolean flag)

Sets the value of the NotifyMatch attribute.

Parameters:
flag - The new notifyMatch value
See Also:
SNMPStringMonitorMBean.isNotifyMatch()

Copyright 1996, 2013, 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.1.2)

Part Number E27170-02