public class TraceSettings extends java.lang.Object implements PersistentStateComponent<TraceSettings>
Constructor and Description |
---|
TraceSettings() |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
filtersEqual(java.lang.Object[] a,
java.lang.Object[] b) |
ClassFilter[] |
getClassExclusionFilters() |
ClassFilter[] |
getClassFilters() |
static TraceSettings |
getInstance() |
TraceSettings |
getState() |
void |
loadState(TraceSettings state)
This method is called when new component state is loaded.
|
boolean |
setClassExclusionFilters(ClassFilter[] classExclusionFilters) |
boolean |
setClassFilters(ClassFilter[] classFilters) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public final ClassFilter[] getClassFilters()
public final boolean setClassFilters(ClassFilter[] classFilters)
protected static boolean filtersEqual(java.lang.Object[] a, java.lang.Object[] b)
public ClassFilter[] getClassExclusionFilters()
public boolean setClassExclusionFilters(ClassFilter[] classExclusionFilters)
public static TraceSettings getInstance()
public void loadState(TraceSettings state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<TraceSettings>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public TraceSettings getState()
getState
in interface PersistentStateComponent<TraceSettings>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer