Enum NamingSchemes
- All Implemented Interfaces:
- Serializable,- Comparable<NamingSchemes>,- NamingScheme
Standard naming schemes.
- Since:
- 4.0.0
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionReformats names tocamelCasestyle.Reformats names tolower-case-dashedformat.Passes through names unchanged.Reformats names tosnake_caseformat.
- 
Method SummaryModifier and TypeMethodDescriptionstatic NamingSchemesReturns the enum constant of this type with the specified name.static NamingSchemes[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enumclone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.spongepowered.configurate.util.NamingSchemecoerce
- 
Enum Constant Details- 
PASSTHROUGHPasses through names unchanged.- Since:
- 4.0.0
 
- 
CAMEL_CASEReformats names tocamelCasestyle.- Since:
- 4.0.0
 
- 
SNAKE_CASEReformats names tosnake_caseformat.- Since:
- 4.0.0
 
- 
LOWER_CASE_DASHEDReformats names tolower-case-dashedformat.- Since:
- 4.0.0
 
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
 
-