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 ACTIONSpring web flow.ATTRIBUTEXML attribute.BEANSpring bean.CLASSJava class/type.CLI_OPTIONCommand-line option.CONFIGURATIONConfiguration approach.ELEMENTXML element.METHODJava method.NAMESPACEXML namespace.PROPERTYKey/value property.WEBFLOWSpring web flow.XSITYPEXML type.
-
Constructor Summary
Constructors Modifier Constructor Description privateObjectType(String s)Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static DeprecationSupport.ObjectTypevalueOf(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 Detail
-
CLASS
public static final DeprecationSupport.ObjectType CLASS
Java class/type.
-
METHOD
public static final DeprecationSupport.ObjectType METHOD
Java method.
-
PROPERTY
public static final DeprecationSupport.ObjectType PROPERTY
Key/value property.
-
BEAN
public static final DeprecationSupport.ObjectType BEAN
Spring bean.
-
NAMESPACE
public static final DeprecationSupport.ObjectType NAMESPACE
XML namespace.
-
XSITYPE
public static final DeprecationSupport.ObjectType XSITYPE
XML type.
-
ELEMENT
public static final DeprecationSupport.ObjectType ELEMENT
XML element.
-
ATTRIBUTE
public static final DeprecationSupport.ObjectType ATTRIBUTE
XML attribute.
-
WEBFLOW
public static final DeprecationSupport.ObjectType WEBFLOW
Spring web flow.
-
ACTION
public static final DeprecationSupport.ObjectType ACTION
Spring web flow.
-
CONFIGURATION
public static final DeprecationSupport.ObjectType CONFIGURATION
Configuration approach.
-
CLI_OPTION
public static final DeprecationSupport.ObjectType CLI_OPTION
Command-line option.- Since:
- 8.1
-
-
Method Detail
-
values
public static DeprecationSupport.ObjectType[] 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 (DeprecationSupport.ObjectType c : DeprecationSupport.ObjectType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeprecationSupport.ObjectType 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:
toStringin classEnum<DeprecationSupport.ObjectType>
-
-