weblogic.management.configuration
Interface SNMPStringMonitorMBean
- public interface SNMPStringMonitorMBean
- extends SNMPJMXMonitorMBean
This class describes the criteria for a String-based Monitor.
A trap is generated when this criteria is satisfied.
- Author:
- Copyright © 2002 BEA Systems, Inc. All Rights Reserved.
Method Summary
|
java.lang.String |
getStringToCompare()
Defines a string to be compared to the value of the Monitored Attribute Name. |
boolean |
isNotifyDiffer()
Defines that the criteria used to generate a trap is that the value of
Monitored Attribute Name and the value of String to Compare do not match. |
boolean |
isNotifyMatch()
Defines that the criteria used to generate a trap is that the value of
Monitored Attribute Name and the value of String to Compare match. |
void |
setNotifyDiffer(boolean flag)
Sets the notifyDiffer attribute of the SNMPStringMonitorMBean object |
void |
setNotifyMatch(boolean flag)
Sets the notifyMatch attribute of the SNMPStringMonitorMBean object |
void |
setStringToCompare(java.lang.String stringtocompare)
Sets the stringToCompare attribute of the SNMPStringMonitorMBean object |
Methods inherited from interface javax.management.DynamicMBean |
getAttribute,
getAttributes,
invoke,
setAttribute,
setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister,
postRegister,
preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener,
getNotificationInfo,
removeNotificationListener |
CACHING_STUB_SVUID
public static final long CACHING_STUB_SVUID
- Description of the Field
getStringToCompare
public java.lang.String getStringToCompare()
- Defines a string to be compared to the value of the Monitored Attribute Name.
A trap is generated when the critiera specified by Notify Match or Notify Differ
is satisfied.
- Legal Value: (value != null) && (value.trim().length() > 0)
- Returns:
- The stringToCompare value
setStringToCompare
public void setStringToCompare(java.lang.String stringtocompare)
throws javax.management.InvalidAttributeValueException,
ConfigurationException
- Sets the stringToCompare attribute of the SNMPStringMonitorMBean object
- Parameters:
stringtocompare
- The new stringToCompare value- Throws:
- javax.management.InvalidAttributeValueException - Description of the Exception
- ConfigurationException - Description of the Exception
isNotifyDiffer
public boolean isNotifyDiffer()
- Defines that the criteria used to generate a trap is that the value of
Monitored Attribute Name and the value of String to Compare do not match.
- Default Value: false
- Returns:
- The notifyDiffer value
setNotifyDiffer
public void setNotifyDiffer(boolean flag)
- Sets the notifyDiffer attribute of the SNMPStringMonitorMBean object
- Parameters:
flag
- The new notifyDiffer value
isNotifyMatch
public boolean isNotifyMatch()
- Defines that the criteria used to generate a trap is that the value of
Monitored Attribute Name and the value of String to Compare match.
- Default Value: false
- Returns:
- The notifyMatch value
setNotifyMatch
public void setNotifyMatch(boolean flag)
- Sets the notifyMatch attribute of the SNMPStringMonitorMBean object
- Parameters:
flag
- The new notifyMatch value