|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.platform.security.audit.config.UnmodifiableAuditConfiguration
public class UnmodifiableAuditConfiguration
| Constructor Summary | |
|---|---|
UnmodifiableAuditConfiguration(AuditConfiguration orig)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
int |
compareTo(java.lang.Object obj)
Compares this object to another. |
java.lang.Object |
deepClone()
|
void |
discardContext(java.lang.String context)
This method always throws an UnsupportedOperationException. |
void |
discardContexts(java.util.Collection contexts)
This method always throws an UnsupportedOperationException. |
boolean |
equals(java.lang.Object obj)
Returns true if the specified object is semantically equal to this instance. |
int |
getAuditLevel()
Get the level of detail of messages that are currently being recorded. |
java.util.Set |
getDiscardedContexts()
Obtain the set of contexts for messages that are to be discarded. |
boolean |
isContextDiscarded(java.lang.String context)
|
boolean |
isLevelDiscarded(int level)
|
void |
recordAllContexts()
This method always throws an UnsupportedOperationException. |
void |
recordContext(java.lang.String context)
This method always throws an UnsupportedOperationException. |
void |
recordContexts(java.util.Collection contexts)
This method always throws an UnsupportedOperationException. |
void |
setAuditLevel(int newMessageLevel)
This method always throws an UnsupportedOperationException. |
java.lang.String |
toString()
String representation of logging configuration. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UnmodifiableAuditConfiguration(AuditConfiguration orig)
| Method Detail |
|---|
public boolean isContextDiscarded(java.lang.String context)
isContextDiscarded in interface AuditConfigurationpublic boolean isLevelDiscarded(int level)
isLevelDiscarded in interface AuditConfigurationpublic int getAuditLevel()
getAuditLevel in interface AuditConfigurationpublic java.util.Set getDiscardedContexts()
getDiscardedContexts in interface AuditConfigurationpublic void discardContexts(java.util.Collection contexts)
discardContexts in interface AuditConfigurationcontexts - the set of contexts that are to be ignored for logging;
this method does nothing if the reference is null or emptypublic void discardContext(java.lang.String context)
discardContext in interface AuditConfigurationcontext - the context to add to the set; this method does nothing
if the reference is nullpublic void recordAllContexts()
recordAllContexts in interface AuditConfigurationpublic void recordContext(java.lang.String context)
recordContext in interface AuditConfigurationcontext - the context for messages that should be recorded; this
method does nothing if the reference is nullpublic void recordContexts(java.util.Collection contexts)
recordContexts in interface AuditConfigurationcontexts - the set of contexts that are to be recorded;
this method does nothing if the reference is null or emptypublic void setAuditLevel(int newMessageLevel)
setAuditLevel in interface AuditConfigurationnewMessageLevel - the new level.
java.lang.IllegalArgumentException - if the level is out of range.public int compareTo(java.lang.Object obj)
equals(), meaning
that (compare(x, y)==0) == (x.equals(y)).
compareTo in interface AuditConfigurationcompareTo in interface java.lang.Comparableobj - the object that this instance is to be compared to.
java.lang.IllegalArgumentException - if the specified object reference is null
java.lang.ClassCastException - if the specified object's type prevents it
from being compared to this instance.public boolean equals(java.lang.Object obj)
compareTo().
equals in interface AuditConfigurationequals in class java.lang.Objectobj - the object that this instance is to be compared to.
public java.lang.String toString()
toString in interface AuditConfigurationtoString in class java.lang.Objectpublic java.lang.Object clone()
clone in interface AuditConfigurationclone in class java.lang.Objectpublic java.lang.Object deepClone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||