|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.admin.objects.MMAdminObject com.metamatrix.admin.objects.MMLogConfiguration
public class MMLogConfiguration
Field Summary |
---|
Fields inherited from interface com.metamatrix.admin.api.objects.LogConfiguration |
---|
CONTEXT_DELIMETER, CRITICAL, CTX_ALL, DETAIL, ERROR, INFO, LOG_CONTEXT_PROPERTY_NAME, LOG_LEVEL_PROPERTY_NAME, NONE, TRACE, WARNING |
Fields inherited from interface com.metamatrix.admin.api.objects.AdminObject |
---|
DELIMITER, DELIMITER_CHAR, ESCAPED_DELIMITER, ESCAPED_WILDCARD, WILDCARD |
Constructor Summary | |
---|---|
MMLogConfiguration()
xtor for Log Configuration |
Method Summary | |
---|---|
java.util.Set |
getDiscardedContexts()
Obtain the set of contexts for messages that are to be discarded. |
java.util.Set |
getIncludedContexts()
Obtain the set of message contexts that are currently used. |
int |
getLogLevel()
Get the current configured Log Level TODO: An int log level is of little use to clients. |
void |
setDiscardedContexts(java.util.Set discardedContexts)
Direct the log configuration to discard the given contexts and not record them. |
void |
setIncludedContexts(java.util.Set includedContexts)
Direct the log configuration to record only these contexts. |
void |
setLogLevel(int logLevel)
Set the Log Level |
java.lang.String |
toString()
Get MetaMatrix Object as a String |
Methods inherited from class com.metamatrix.admin.objects.MMAdminObject |
---|
buildIdentifier, buildIdentifierArray, buildIdentifierList, getCreated, getCreatedBy, getCreatedDate, getIdentifier, getIdentifierArray, getLastChangedBy, getLastChangedDate, getLastUpdated, getLastUpdatedBy, getName, getNameFromIdentifier, getObjectType, getParentName, getProperties, getPropertiesAsString, getPropertyValue, getProps, isDeployed, isEnabled, isRegistered, setCreated, setCreatedBy, setDeployed, setEnabled, setIdentifier, setLastUpdated, setLastUpdatedBy, setProperties, setRegistered |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.metamatrix.admin.api.objects.AdminObject |
---|
getIdentifier, getName, getProperties, getPropertyValue |
Constructor Detail |
---|
public MMLogConfiguration()
Method Detail |
---|
public java.lang.String toString()
MMAdminObject
toString
in class MMAdminObject
MMAdminObject.toString()
public int getLogLevel()
LogConfiguration
getLogLevel
in interface LogConfiguration
LogConfiguration.getLogLevel()
public void setLogLevel(int logLevel)
setLogLevel
in interface LogConfiguration
logLevel
- The logLevel to set.public java.util.Set getDiscardedContexts()
LogConfiguration
getDiscardedContexts
in interface LogConfiguration
public void setDiscardedContexts(java.util.Set discardedContexts)
LogConfiguration
setDiscardedContexts
in interface LogConfiguration
discardedContexts
- The discardedContexts to set.public java.util.Set getIncludedContexts()
LogConfiguration
getIncludedContexts
in interface LogConfiguration
public void setIncludedContexts(java.util.Set includedContexts)
LogConfiguration
setIncludedContexts
in interface LogConfiguration
includedContexts
- The includedContexts to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |