Package com.linecorp.armeria.server.docs
Class EnumInfo
java.lang.Object
com.linecorp.armeria.server.docs.EnumInfo
- All Implemented Interfaces:
NamedTypeInfo
Metadata about an enum type.
-
Constructor Summary
ConstructorDescriptionCreates a new instance.Creates a new instance.Creates a new instance.Creates a new instance.EnumInfo(String name, Iterable<EnumValueInfo> values)
Creates a new instance.Creates a new instance. -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.linecorp.armeria.server.docs.NamedTypeInfo
findNamedTypes
-
Constructor Details
-
EnumInfo
Creates a new instance. -
EnumInfo
Creates a new instance. -
EnumInfo
Creates a new instance. -
EnumInfo
public EnumInfo(String name, Class<? extends Enum<?>> enumType, @Nullable @Nullable String docString)Creates a new instance. -
EnumInfo
Creates a new instance. -
EnumInfo
Creates a new instance.
-
-
Method Details
-
name
Description copied from interface:NamedTypeInfo
Returns the fully qualified type name.- Specified by:
name
in interfaceNamedTypeInfo
-
values
Returns the constant values defined by the type. -
docString
Description copied from interface:NamedTypeInfo
Returns the documentation string. If not available, an empty string is returned.- Specified by:
docString
in interfaceNamedTypeInfo
-
equals
-
hashCode
public int hashCode() -
toString
-