org.springframework.extensions.webscripts
Enum Description.Lifecycle

java.lang.Object
  extended by java.lang.Enum<Description.Lifecycle>
      extended by 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


Enum Constant Summary
deprecated
           
draft
           
draft_public_api
           
internal
           
none
           
public_api
           
sample
           
 
Method Summary
static Description.Lifecycle valueOf(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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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
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(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.