Package com.linecorp.armeria.server.docs
Class EnumValueInfo
java.lang.Object
com.linecorp.armeria.server.docs.EnumValueInfo
Metadata about an enum value.
-
Constructor Summary
ConstructorDescriptionEnumValueInfo
(String name) Creates a new instance.EnumValueInfo
(String name, @Nullable Integer intValue) Creates a new instance.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
public EnumValueInfo(String name, @Nullable @Nullable Integer intValue, @Nullable @Nullable String docString) 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
-
name
Returns the name of the enum value. -
intValue
Returns the integer value of the enum value. -
docString
Returns the documentation string that describes the enum value. -
hashCode
public int hashCode() -
equals
-
toString
-