Class Property

java.lang.Object
org.jgroups.raft.configuration.Property

@Immutable public final class Property extends Object
  • Constructor Details

  • Method Details

    • create

      public static Property.Builder create(String name)
    • name

      public String name()
      Get the name of the field.
      Returns:
      the name; never null
    • defaultValue

      public Object defaultValue()
      Get the default value of the field.
      Returns:
      the default value, or null if there is no default value
    • defaultValueAsString

      public String defaultValueAsString()
      Get the string representation of the default value of the field.
      Returns:
      the default value, or null if there is no default value
    • description

      public String description()
      Get the description of the field.
      Returns:
      the description; never null
    • displayName

      public String displayName()
      Get the display name of the field.
      Returns:
      the display name; never null