Package com.linecorp.armeria.server.docs
Class EnumValueInfo
java.lang.Object
com.linecorp.armeria.server.docs.EnumValueInfo
@UnstableApi public final class EnumValueInfo extends Object
Metadata about an enum value.
-
Constructor Summary
Constructors Constructor Description EnumValueInfo(String name)
Creates a new instance.EnumValueInfo(String name, Integer intValue)
Creates a new instance.EnumValueInfo(String name, Integer intValue, String docString)
Creates a new instance. -
Method Summary
-
Constructor Details
-
EnumValueInfo
Creates a new instance.- Parameters:
name
- the name of the enum value
-
EnumValueInfo
Creates a new instance.- Parameters:
name
- the name of the enum valueintValue
- the integer value of the enum value
-
EnumValueInfo
Creates a new instance.- Parameters:
name
- the name of the enum valueintValue
- the integer value of the enum valuedocString
- the documentation string that describes the enum value
-
-
Method Details