org.norther.tammi.spray.template.flow
Enum SomeState

java.lang.Object
  extended by java.lang.Enum<SomeState>
      extended by org.norther.tammi.spray.template.flow.SomeState
All Implemented Interfaces:
Serializable, Comparable<SomeState>

public enum SomeState
extends Enum<SomeState>

Some useful flow step states, any others, that need not to be enums, may be applied as well.

Version:
$Id: SomeState.java,v 1.9 2010-08-17 13:35:26 cvsimp Exp $
Author:
Ilkka Priha

Enum Constant Summary
ADAPTABLE
          The adaptable state.
CONSTRUCTED
          The constructed state.
DISPOSABLE
          The disposable state.
FINISHED
          The finished state.
INTRANSITIVE
          The intransitive state.
ONLY_WRITE
          The only-write state.
QUALIFIED
          The qualified state.
READ_ONLY
          The read-only state.
RESETABLE
          The resetable state.
ROOTABLE
          The rootable state.
SECURE
          The secure state.
STATELESS
          The stateless state.
SUBMITTED
          The submitted state.
TRANSITIVE
          The transitive state.
UNINDEXED
          The unindexed state.
WRITE_EVEN
          The write-even state.
 
Method Summary
 String toString()
           
static SomeState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SomeState[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CONSTRUCTED

public static final SomeState CONSTRUCTED
The constructed state. Constructed steps have their construct action executed.


SUBMITTED

public static final SomeState SUBMITTED
The submitted state. Submitted steps have their submit action executed.


FINISHED

public static final SomeState FINISHED
The finished state. Finished steps are simply finished.


READ_ONLY

public static final SomeState READ_ONLY
The read-only state. Read-only steps can't be modified with write access rights.


ONLY_WRITE

public static final SomeState ONLY_WRITE
The only-write state. Only-write steps can be partially modified with write access rights.


WRITE_EVEN

public static final SomeState WRITE_EVEN
The write-even state. Write-even steps can be modified with read access rights.


ROOTABLE

public static final SomeState ROOTABLE
The rootable state. For rootable flows, the default flow is applied to an implicit selection and the default flow is ignored in an explicit selection.


ADAPTABLE

public static final SomeState ADAPTABLE
The adaptable state. Adaptable steps accept external templates and variables passed through the selection during a context switch.


RESETABLE

public static final SomeState RESETABLE
The resetable state. External templates and variables of resetable steps are reseted when the corresponding steps are finished.


QUALIFIED

public static final SomeState QUALIFIED
The qualified state. Qualified steps apply submit methods with qualified names suffixed by their flow name and step index.


DISPOSABLE

public static final SomeState DISPOSABLE
The disposable state. Flows of disposable steps are disposed when selected.


STATELESS

public static final SomeState STATELESS
The stateless state. Prepare and submit actions of stateless steps are executed in stateless order.


UNINDEXED

public static final SomeState UNINDEXED
The unindexed state. Form variables of unindexed steps are submitted without index prefixes.


TRANSITIVE

public static final SomeState TRANSITIVE
The transitive state. Forms of transitive steps are submitted during transitions between steps.


INTRANSITIVE

public static final SomeState INTRANSITIVE
The intransitive state. Forms of intransitive steps are not updated during transitions between steps.


SECURE

public static final SomeState SECURE
The secure state. Secure steps require a secure connection.

Method Detail

values

public static SomeState[] 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 (SomeState c : SomeState.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SomeState 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

toString

public String toString()
Overrides:
toString in class Enum<SomeState>


Copyright © 2004 The Norther Organization. All rights reserved.