Class EnvironmentArbiter.Builder

java.lang.Object
org.apache.logging.log4j.core.config.arbiters.EnvironmentArbiter.Builder
All Implemented Interfaces:
Builder<EnvironmentArbiter>
Enclosing class:
EnvironmentArbiter

public static class EnvironmentArbiter.Builder extends Object implements Builder<EnvironmentArbiter>
  • Field Details

  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • setPropertyName

      public EnvironmentArbiter.Builder setPropertyName(String propertyName)
      Sets the Property Name.
      Parameters:
      propertyName - the property name.
      Returns:
      this
    • setPropertyValue

      public EnvironmentArbiter.Builder setPropertyValue(String propertyValue)
      Sets the Property Value.
      Parameters:
      propertyValue - the property value.
      Returns:
      this
    • asBuilder

      public EnvironmentArbiter.Builder asBuilder()
    • build

      public EnvironmentArbiter 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 interface Builder<EnvironmentArbiter>
      Returns:
      the configured instance.