public interface SNMPLogFilterMBean extends SNMPTrapSourceMBean
DEFAULT_EMPTY_BYTE_ARRAY| Modifier and Type | Method and Description |
|---|---|
boolean |
addMessageId(String messageid)
Adds a feature to the MessageId attribute of the
SNMPLogFilterMBean object
|
boolean |
addSubsystemName(String subsystem)
Adds a feature to the SubsystemName attribute of the
SNMPLogFilterMBean object
|
boolean |
addUserId(String userid)
Adds a feature to the UserId attribute of the SNMPLogFilterMBean
object
|
String[] |
getMessageIds()
A list of message IDs or ID ranges that cause a WebLogic Server SNMP agent to
generate a notification.
|
String |
getMessageSubstring()
A string that is searched for in the message text.
|
String |
getSeverityLevel()
The minimum severity of a message that causes a WebLogic Server SNMP agent to
generate a notification.
|
String[] |
getSubsystemNames()
A list of subsystems whose messages are selected by this log
filter.
|
String[] |
getUserIds()
A list of user IDs that causes a WebLogic Server SNMP agent to generate a
notification.
|
boolean |
removeMessageId(String messageid) |
boolean |
removeSubsystemName(String subsystem) |
boolean |
removeUserId(String userid) |
void |
setMessageIds(String[] messageIdList)
Sets the value of the MessageIds attribute.
|
void |
setMessageSubstring(String MessageSubString)
Sets the value of the MessageSubstring attribute.
|
void |
setSeverityLevel(String severityLevel)
Sets the value of the SeverityLevel attribute.
|
void |
setSubsystemNames(String[] subsystemList)
Sets the value of the SubsystemNames attribute.
|
void |
setUserIds(String[] userIdList)
Sets the value of the UserIds attribute.
|
addEnabledServer, getEnabledServers, removeEnabledServer, setEnabledServersfreezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSetgetMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParentgetAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preDeregister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListeneraddPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListenerString getSeverityLevel()
The minimum severity of a message that causes a WebLogic Server SNMP agent to generate a notification.
void setSeverityLevel(String severityLevel)
Sets the value of the SeverityLevel attribute.
severityLevel - The new severityLevel valueSNMPLogFilterMBean.getSeverityLevel()String[] getSubsystemNames()
A list of subsystems whose messages are selected by this log filter. If none are specified, messages from all subsystems are selected.
void setSubsystemNames(String[] subsystemList)
Sets the value of the SubsystemNames attribute.
subsystemList - The new subsystemNames valueSNMPLogFilterMBean.getSubsystemNames()boolean addSubsystemName(String subsystem) throws InvalidAttributeValueException, ConfigurationException
Adds a feature to the SubsystemName attribute of the SNMPLogFilterMBean object
subsystem - The feature to be added to the SubsystemName attributeInvalidAttributeValueExceptionConfigurationExceptionboolean removeSubsystemName(String subsystem) throws InvalidAttributeValueException, ConfigurationException
subsystem - InvalidAttributeValueExceptionConfigurationExceptionString[] getUserIds()
A list of user IDs that causes a WebLogic Server SNMP agent to generate a notification.
Every message includes the user ID from the security context in which the message was generated.
If the user ID field for a message matches one of the user IDs you specify in the filter, WebLogic Server generates a notification.
If this log filter doesn't specify user IDs, WebLogic Server can generate a notification for messages from all user IDs.
void setUserIds(String[] userIdList)
Sets the value of the UserIds attribute.
userIdList - The new userIds valueSNMPLogFilterMBean.getUserIds()boolean addUserId(String userid) throws InvalidAttributeValueException, ConfigurationException
Adds a feature to the UserId attribute of the SNMPLogFilterMBean object
userid - The feature to be added to the UserId attributeInvalidAttributeValueExceptionConfigurationExceptionboolean removeUserId(String userid) throws InvalidAttributeValueException, ConfigurationException
userid - InvalidAttributeValueExceptionConfigurationExceptionString[] getMessageIds()
A list of message IDs or ID ranges that cause a WebLogic Server SNMP agent to generate a notification.
If no IDs are specified, this filter selects all message IDs.
Example list: 20,50-100,300
void setMessageIds(String[] messageIdList)
Sets the value of the MessageIds attribute.
messageIdList - The new messageIds valueSNMPLogFilterMBean.getMessageIds()boolean addMessageId(String messageid) throws InvalidAttributeValueException, ConfigurationException
Adds a feature to the MessageId attribute of the SNMPLogFilterMBean object
messageid - The feature to be added to the MessageId attributeInvalidAttributeValueExceptionConfigurationExceptionboolean removeMessageId(String messageid) throws InvalidAttributeValueException, ConfigurationException
messageid - InvalidAttributeValueExceptionConfigurationExceptionString getMessageSubstring()
A string that is searched for in the message text. Only messages that contain the string are selected. If a string is not specified, all messages are selected.
void setMessageSubstring(String MessageSubString) throws InvalidAttributeValueException, ConfigurationException
Sets the value of the MessageSubstring attribute.
MessageSubString - The new messageSubstring valueInvalidAttributeValueExceptionConfigurationExceptionSNMPLogFilterMBean.getMessageSubstring()