Enum Description.Lifecycle
- java.lang.Object
-
- java.lang.Enum<Description.Lifecycle>
-
- org.springframework.extensions.webscripts.Description.Lifecycle
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Description.Lifecycle>
- Enclosing interface:
- Description
public static enum Description.Lifecycle extends java.lang.Enum<Description.Lifecycle>
Enumeration of lifecycle which indicates the status of this web script
-
-
Enum Constant Summary
Enum Constants Enum Constant Description deprecateddraftdraft_public_apiinternallimited_supportnonepublic_apisample
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Description.LifecyclevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Description.Lifecycle[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
none
public static final Description.Lifecycle none
-
sample
public static final Description.Lifecycle sample
-
draft
public static final Description.Lifecycle draft
-
draft_public_api
public static final Description.Lifecycle draft_public_api
-
public_api
public static final Description.Lifecycle public_api
-
deprecated
public static final Description.Lifecycle deprecated
-
internal
public static final Description.Lifecycle internal
-
limited_support
public static final Description.Lifecycle limited_support
-
-
Method Detail
-
values
public static Description.Lifecycle[] 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 (Description.Lifecycle c : Description.Lifecycle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Description.Lifecycle valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-