@NotThreadSafe public static final class Traces.Context extends KeyedGroups
May be used to supply the traces properties.
MISSING_KEYED_GROUP, NO_KEYED_GROUPS
ANONYMOUS, HASH_LOAD_FACTOR, MAP_ENTRY_COMPARATOR
Constructor and Description |
---|
Context()
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
Traces.Context |
copy()
Creates a copy of this.
|
Traces.Context |
freeze()
Freezes this.
|
void |
setCompressed(boolean compressed)
Sets the 'compressed' property.
|
void |
setCompressedSuffix(String suffix)
Sets the 'compressed.suffix' property.
|
void |
setDir(String dir)
Sets the 'dir' property.
|
void |
setDisabled(boolean disabled)
Sets the 'disabled' property.
|
void |
setPrefix(String prefix)
Sets the 'prefix' property.
|
void |
setRoot(String root)
Sets the 'root' property.
|
void |
setSuffix(String suffix)
Sets the 'suffix' property.
|
addAll, addGroup, clear, containsGroupKey, equals, frozen, getGroup, getGroups, getGroupsEntries, getGroupsKeys, getGroupsSize, getMissingGroup, getName, getNoGroups, hashCode, isEmpty, isMissing, removeGroup, setGroup, setValue, thawed, toPropertiesMap
add, addAll, addObject, areValuesHidden, checkNotFrozen, containsValueKey, getBoolean, getBoolean, getBoolean, getClassDef, getClassDef, getClassDefs, getDouble, getElapsed, getInt, getInteger, getLong, getLong, getObject, getObjects, getPassword, getString, getString, getStrings, getThisLogger, getType, getValues, getValuesEntries, getValuesKeys, getValuesSize, hashCapacity, isFrozen, isHidden, isMultiple, removeValue, setHidden, setObjects, setValuesHidden, substitute, toString
public Traces.Context copy()
copy
in class KeyedGroups
public Traces.Context freeze()
freeze
in class KeyedGroups
public void setCompressed(boolean compressed)
compressed
- The new property value.public void setCompressedSuffix(@Nonnull String suffix)
suffix
- The new property value.public void setDir(@Nonnull String dir)
dir
- The new property value.public void setDisabled(boolean disabled)
disabled
- The new property value.public void setPrefix(@Nonnull String prefix)
prefix
- The new property value.public void setRoot(@Nonnull String root)
root
- The new property value.public void setSuffix(@Nonnull String suffix)
suffix
- The new property value.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.