Class ClassArbiter.Builder
java.lang.Object
org.apache.logging.log4j.core.config.arbiters.ClassArbiter.Builder
- All Implemented Interfaces:
Builder<ClassArbiter>
- Enclosing class:
- ClassArbiter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the object after all configuration has been set.setClassName(String className) Sets the Class name.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.logging.log4j.core.util.Builder
getErrorPrefix, isValid
-
Field Details
-
ATTR_CLASS_NAME
- See Also:
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setClassName
Sets the Class name.- Parameters:
className- the class name.- Returns:
- this
-
asBuilder
-
build
Description copied from interface:BuilderBuilds the object after all configuration has been set. This will use default values for any unspecified attributes for the object.- Specified by:
buildin interfaceBuilder<ClassArbiter>- Returns:
- the configured instance.
-