Class ScriptArbiter
java.lang.Object
org.apache.logging.log4j.core.config.arbiters.ScriptArbiter
- All Implemented Interfaces:
Arbiter
@Plugin(name="ScriptArbiter",
category="Core",
elementType="Arbiter",
deferChildren=true,
printObject=true)
public class ScriptArbiter
extends Object
implements Arbiter
Condition that evaluates a script.
-
Nested Class Summary
-
Field Summary
Fields inherited from interface org.apache.logging.log4j.core.config.arbiters.Arbiter
ELEMENT_TYPE
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the boolean result of the Script.static ScriptArbiter.Builder
-
Method Details
-
isCondition
public boolean isCondition()Returns the boolean result of the Script.- Specified by:
isCondition
in interfaceArbiter
-
newBuilder
-