Class EnumValueInfo

java.lang.Object
com.linecorp.armeria.server.docs.EnumValueInfo

@UnstableApi public final class EnumValueInfo extends Object
Metadata about an enum value.
  • Constructor Details

    • EnumValueInfo

      public EnumValueInfo(String name)
      Creates a new instance.
      Parameters:
      name - the name of the enum value
    • EnumValueInfo

      public EnumValueInfo(String name, @Nullable @Nullable Integer intValue)
      Creates a new instance.
      Parameters:
      name - the name of the enum value
      intValue - the integer value of the enum value
    • EnumValueInfo

      public EnumValueInfo(String name, @Nullable @Nullable Integer intValue, DescriptionInfo descriptionInfo)
      Creates a new instance.
      Parameters:
      name - the name of the enum value
      intValue - the integer value of the enum value
      descriptionInfo - the description object that describes the enum value
  • Method Details