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 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 Integer intValue, @Nullable String docString)
      Creates a new instance.
      Parameters:
      name - the name of the enum value
      intValue - the integer value of the enum value
      docString - the documentation string that describes the enum value
  • Method Details