Class Constants
- java.lang.Object
-
- org.spongepowered.plugin.metadata.Constants
-
public final class Constants extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringINVALID_ID_REQUIREMENTS_MESSAGEstatic PatternVALID_ID_PATTERNIds must conform to the following requirements:
-
-
-
Field Detail
-
VALID_ID_PATTERN
public static final Pattern VALID_ID_PATTERN
Ids must conform to the following requirements:
- Must be between 2 and 64 characters in length
- Must start with a lower case letter (a-z)
- May only contain a mix of lower case letters (a-z), numbers (0-9), dashes (-), and underscores (_)
-
INVALID_ID_REQUIREMENTS_MESSAGE
public static final String INVALID_ID_REQUIREMENTS_MESSAGE
- See Also:
- Constant Field Values
-
-