LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.data
Enum LyContext.Status

java.lang.Object
  extended by java.lang.Enum<LyContext.Status>
      extended by leon.data.LyContext.Status
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LyContext.Status>
Enclosing class:
LyContext

public static enum LyContext.Status
extends java.lang.Enum<LyContext.Status>

Status of the context.


Enum Constant Summary
COMMITTING
          the context is committing.
COMPLETED
          the context is committed.
ERROR
          the context is in error after a commit operation.
ROLLBACKED
          the context is rollbacked.
RUNNING
          the context is started ad there is one or more registered operations.
STARTED
          the context is started but there is no any registered operation.
 
Method Summary
static LyContext.Status valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LyContext.Status[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STARTED

public static final LyContext.Status STARTED
the context is started but there is no any registered operation.


RUNNING

public static final LyContext.Status RUNNING
the context is started ad there is one or more registered operations.


ERROR

public static final LyContext.Status ERROR
the context is in error after a commit operation.


COMPLETED

public static final LyContext.Status COMPLETED
the context is committed.


ROLLBACKED

public static final LyContext.Status ROLLBACKED
the context is rollbacked.


COMMITTING

public static final LyContext.Status COMMITTING
the context is committing.

Method Detail

values

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

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

valueOf

public static LyContext.Status 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 name
java.lang.NullPointerException - if the argument is null

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com