org.eclipse.stardust.engine.api.runtime
Enum QualityAssuranceUtils.QualityAssuranceState

java.lang.Object
  extended by java.lang.Enum<QualityAssuranceUtils.QualityAssuranceState>
      extended by org.eclipse.stardust.engine.api.runtime.QualityAssuranceUtils.QualityAssuranceState
All Implemented Interfaces:
Serializable, Comparable<QualityAssuranceUtils.QualityAssuranceState>
Enclosing class:
QualityAssuranceUtils

public static enum QualityAssuranceUtils.QualityAssuranceState
extends Enum<QualityAssuranceUtils.QualityAssuranceState>

Describes the state an activity instance is in - regarding quality assurance

Version:
$Revision: $
Author:
barry.grotjahn

Enum Constant Summary
IS_QUALITY_ASSURANCE
          The current instance is a quality assurance instance and is part of the quality assurance cycle
IS_REVISED
          The current instance is a workflow instance which is reworked and is part of the quality assurance cycle.
NO_QUALITY_ASSURANCE
          The current instance is no quality assurance instance and is not part of the quality assurance cycle
QUALITY_ASSURANCE_TRIGGERED
          The current instance triggered a quality assurance instance and is part of the quality assurance cycle
 
Field Summary
static String PROPERTY_KEY
          the key under which the state will be stored in the activity instance properties
 
Method Summary
static QualityAssuranceUtils.QualityAssuranceState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static QualityAssuranceUtils.QualityAssuranceState[] 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

NO_QUALITY_ASSURANCE

public static final QualityAssuranceUtils.QualityAssuranceState NO_QUALITY_ASSURANCE
The current instance is no quality assurance instance and is not part of the quality assurance cycle


IS_QUALITY_ASSURANCE

public static final QualityAssuranceUtils.QualityAssuranceState IS_QUALITY_ASSURANCE
The current instance is a quality assurance instance and is part of the quality assurance cycle


QUALITY_ASSURANCE_TRIGGERED

public static final QualityAssuranceUtils.QualityAssuranceState QUALITY_ASSURANCE_TRIGGERED
The current instance triggered a quality assurance instance and is part of the quality assurance cycle


IS_REVISED

public static final QualityAssuranceUtils.QualityAssuranceState IS_REVISED
The current instance is a workflow instance which is reworked and is part of the quality assurance cycle. The previous quality assurance instances was marked with "Fail"

Field Detail

PROPERTY_KEY

public static final String PROPERTY_KEY
the key under which the state will be stored in the activity instance properties

See Also:
Constant Field Values
Method Detail

values

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

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

valueOf

public static QualityAssuranceUtils.QualityAssuranceState 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 © 2017 Eclipse Stardust. All Rights Reserved.