org.springframework.extensions.webscripts
Enum Description.Lifecycle
java.lang.Object
java.lang.Enum<Description.Lifecycle>
org.springframework.extensions.webscripts.Description.Lifecycle
- All Implemented Interfaces:
- Serializable, Comparable<Description.Lifecycle>
- Enclosing interface:
- Description
public static enum Description.Lifecycle
- extends Enum<Description.Lifecycle>
Enumeration of lifecycle which indicates the status of this web script
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
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(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 name
NullPointerException
- if the argument is null
Copyright © 2009 SpringSource, Inc. All Rights Reserved.