Class SystemPropertyArbiter.Builder
java.lang.Object
org.apache.logging.log4j.core.config.arbiters.SystemPropertyArbiter.Builder
- All Implemented Interfaces:
Builder<SystemPropertyArbiter>
- Enclosing class:
- SystemPropertyArbiter
public static class SystemPropertyArbiter.Builder
extends Object
implements Builder<SystemPropertyArbiter>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the object after all configuration has been set.setPropertyName
(String propertyName) Sets the Property Name.setPropertyValue
(String propertyValue) Sets the Property Value.
-
Field Details
-
ATTR_PROPERTY_NAME
- See Also:
-
ATTR_PROPERTY_VALUE
- See Also:
-
propertyName
-
propertyValue
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setPropertyName
Sets the Property Name.- Parameters:
propertyName
- the property name.- Returns:
- this
-
setPropertyValue
Sets the Property Value.- Parameters:
propertyValue
- the property name.- Returns:
- this
-
asBuilder
-
build
Description copied from interface:Builder
Builds the object after all configuration has been set. This will use default values for any unspecified attributes for the object.- Specified by:
build
in interfaceBuilder<SystemPropertyArbiter>
- Returns:
- the configured instance.
-