Enum Class RelaxedPropertyNames.NameManipulations
java.lang.Object
java.lang.Enum<RelaxedPropertyNames.NameManipulations>
org.apereo.cas.configuration.support.RelaxedPropertyNames.NameManipulations
- All Implemented Interfaces:
Serializable
,Comparable<RelaxedPropertyNames.NameManipulations>
,Constable
- Enclosing class:
RelaxedPropertyNames
public static enum RelaxedPropertyNames.NameManipulations
extends Enum<RelaxedPropertyNames.NameManipulations>
Name manipulations.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionConvert camelcase into hyphens.Convert camel case to underscore.Convert underscore into title case.Convert separate words into camel case.Convert hyphens into underscores.Do nothing and return the value.Convert periods into underscores.Convert separate words into camel case.Convert underscores into periods. -
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NONE
Do nothing and return the value. -
HYPHEN_TO_UNDERSCORE
Convert hyphens into underscores. -
UNDERSCORE_TO_PERIOD
Convert underscores into periods. -
PERIOD_TO_UNDERSCORE
Convert periods into underscores. -
CAMELCASE_TO_UNDERSCORE
Convert camel case to underscore. -
CAMELCASE_TO_HYPHEN
Convert camelcase into hyphens. -
SEPARATED_TO_CAMELCASE
Convert separate words into camel case. -
CASE_INSENSITIVE_SEPARATED_TO_CAMELCASE
Convert separate words into camel case. -
CAMELCASE_TO_UNDERSCORE_TITLE_CASE
Convert underscore into title case.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
apply
Apply string.- Parameters:
value
- the value- Returns:
- the string
-