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.
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)
|
void |
setNotifyMatch(boolean flag)
|
void |
setStringToCompare(java.lang.String stringtocompare)
|
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 |
CACHING_STUB_SVUID
public static final long CACHING_STUB_SVUID
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)
setStringToCompare
public void setStringToCompare(java.lang.String stringtocompare)
throws javax.management.InvalidAttributeValueException,
ConfigurationException
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
setNotifyDiffer
public void setNotifyDiffer(boolean flag)
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
setNotifyMatch
public void setNotifyMatch(boolean flag)
Copyright © 2004 BEA Systems, Inc. All Rights Reserved.
WebLogic Server 7.0 API Reference