Modifier and Type | Field and Description |
---|---|
static Property[] |
EMPTY_ARRAY |
Modifier and Type | Method and Description |
---|---|
static Property |
createProperty(String name,
String value)
Creates a Property.
|
String |
getName()
Returns the property name.
|
String |
getValue()
Returns the property value.
|
boolean |
isValueNeedsLookup()
Returns
true if the value contains a substitutable property that requires a lookup to be resolved. |
String |
toString() |
public static final Property[] EMPTY_ARRAY
public boolean isValueNeedsLookup()
true
if the value contains a substitutable property that requires a lookup to be resolved.true
if the value contains "${"}, {@code false} otherwise@PluginFactory public static Property createProperty(@PluginAttribute(value="name") String name, @PluginValue(value="value") String value)
name
- The key.value
- The value.Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.