public class LogMessageProperty
extends java.lang.Object
| Constructor and Description |
|---|
LogMessageProperty()
Create a log message property with default values.
|
LogMessageProperty(java.lang.String name,
java.lang.Object value)
Create a log message with a specified name and value.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Return the name of the property.
|
java.lang.Object |
getValue()
Return the value of the property.
|
boolean |
isCustom()
Return true if the property is a custom property
|
boolean |
isMasked()
Return true if the property is masked.
|
void |
setCustom(boolean custom)
Set the property as custom property
|
void |
setMask(boolean mask)
Set the property to be masked.
|
void |
setName(java.lang.String name)
Set the name of the property.
|
void |
setValue(java.lang.Object value)
Set the value of the property.
|
public LogMessageProperty()
public LogMessageProperty(java.lang.String name,
java.lang.Object value)
name - The property name.value - The property value.public void setName(java.lang.String name)
name - The property namepublic java.lang.String getName()
public void setValue(java.lang.Object value)
value - The property valuepublic java.lang.Object getValue()
public void setCustom(boolean custom)
isCustom - public boolean isCustom()
public void setMask(boolean mask)
mask - public boolean isMasked()