Enum DeprecationSupport.ObjectType
java.lang.Object
java.lang.Enum<DeprecationSupport.ObjectType>
net.shibboleth.utilities.java.support.primitive.DeprecationSupport.ObjectType
- All Implemented Interfaces:
Serializable
,Comparable<DeprecationSupport.ObjectType>
- Enclosing class:
- DeprecationSupport
public static enum DeprecationSupport.ObjectType extends Enum<DeprecationSupport.ObjectType>
Type of object, setting, feature, etc. being deprecated.
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTION
Spring web flow.ATTRIBUTE
XML attribute.BEAN
Spring bean.CLASS
Java class/type.CLI_OPTION
Command-line option.CONFIGURATION
Configuration approach.ELEMENT
XML element.METHOD
Java method.NAMESPACE
XML namespace.PROPERTY
Key/value property.WEBFLOW
Spring web flow.XSITYPE
XML type. -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
ObjectType(String s)
Constructor. -
Method Summary
Modifier and Type Method Description String
toString()
static DeprecationSupport.ObjectType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DeprecationSupport.ObjectType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CLASS
Java class/type. -
METHOD
Java method. -
PROPERTY
Key/value property. -
BEAN
Spring bean. -
NAMESPACE
XML namespace. -
XSITYPE
XML type. -
ELEMENT
XML element. -
ATTRIBUTE
XML attribute. -
WEBFLOW
Spring web flow. -
ACTION
Spring web flow. -
CONFIGURATION
Configuration approach. -
CLI_OPTION
Command-line option.- Since:
- 8.1
-
-
Field Details
-
text
Printed version.
-
-
Constructor Details
-
ObjectType
Constructor.- Parameters:
s
- printed representation
-
-
Method Details
-
values
Returns 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
-
valueOf
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
- Overrides:
toString
in classEnum<DeprecationSupport.ObjectType>
-