Class SystemPropertyArbiter
java.lang.Object
org.apache.logging.log4j.core.config.arbiters.SystemPropertyArbiter
- All Implemented Interfaces:
Arbiter
@Plugin(name="SystemPropertyArbiter",
category="Core",
elementType="Arbiter",
deferChildren=true,
printObject=true)
public class SystemPropertyArbiter
extends Object
implements Arbiter
Condition that determines if the specified property is set.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from interface org.apache.logging.log4j.core.config.arbiters.Arbiter
ELEMENT_TYPE
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
SystemPropertyArbiter
(String propertyName, String propertyValue) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if either the property name is defined (it has any value) or the property value matches the requested value.
-
Field Details
-
propertyName
-
propertyValue
-
-
Constructor Details
-
SystemPropertyArbiter
-
-
Method Details
-
isCondition
public boolean isCondition()Returns true if either the property name is defined (it has any value) or the property value matches the requested value.- Specified by:
isCondition
in interfaceArbiter
-
newBuilder
-