Enum ResourceType
- java.lang.Object
-
- java.lang.Enum<ResourceType>
-
- io.apicurio.multitenant.api.datamodel.ResourceType
-
- All Implemented Interfaces:
Serializable
,Comparable<ResourceType>
public enum ResourceType extends Enum<ResourceType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceType
fromValue(String value)
String
toString()
String
value()
static ResourceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ResourceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAX_TOTAL_SCHEMAS_COUNT
public static final ResourceType MAX_TOTAL_SCHEMAS_COUNT
-
MAX_ARTIFACTS_COUNT
public static final ResourceType MAX_ARTIFACTS_COUNT
-
MAX_VERSIONS_PER_ARTIFACT_COUNT
public static final ResourceType MAX_VERSIONS_PER_ARTIFACT_COUNT
-
MAX_ARTIFACT_PROPERTIES_COUNT
public static final ResourceType MAX_ARTIFACT_PROPERTIES_COUNT
-
MAX_PROPERTY_KEY_SIZE_BYTES
public static final ResourceType MAX_PROPERTY_KEY_SIZE_BYTES
-
MAX_PROPERTY_VALUE_SIZE_BYTES
public static final ResourceType MAX_PROPERTY_VALUE_SIZE_BYTES
-
MAX_ARTIFACT_LABELS_COUNT
public static final ResourceType MAX_ARTIFACT_LABELS_COUNT
-
MAX_LABEL_SIZE_BYTES
public static final ResourceType MAX_LABEL_SIZE_BYTES
-
MAX_ARTIFACT_NAME_LENGTH_CHARS
public static final ResourceType MAX_ARTIFACT_NAME_LENGTH_CHARS
-
MAX_ARTIFACT_DESCRIPTION_LENGTH_CHARS
public static final ResourceType MAX_ARTIFACT_DESCRIPTION_LENGTH_CHARS
-
-
Method Detail
-
values
public static ResourceType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ResourceType c : ResourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<ResourceType>
-
value
public String value()
-
fromValue
public static ResourceType fromValue(String value)
-
-