Class Enum.Builder

    • Method Detail

      • value

        public Enum.DescriptionStage value​(@NotNull
                                           java.lang.String value)

        The value of the enum option.

        The value of the enum option.

        Specified by:
        value in interface Enum.ValueStage
        Returns:
        Reference to this so that method calls can be chained together.
      • description

        public Enum._FinalStage description​(@NotNull
                                            java.lang.String description)

        Description of what this enum value represents.

        Description of what this enum value represents.

        Specified by:
        description in interface Enum.DescriptionStage
        Returns:
        Reference to this so that method calls can be chained together.