org.eclipse.stardust.engine.api.dto
Enum QualityAssuranceResult.ResultState

java.lang.Object
  extended by java.lang.Enum<QualityAssuranceResult.ResultState>
      extended by org.eclipse.stardust.engine.api.dto.QualityAssuranceResult.ResultState
All Implemented Interfaces:
Serializable, Comparable<QualityAssuranceResult.ResultState>
Enclosing interface:
QualityAssuranceResult

public static enum QualityAssuranceResult.ResultState
extends Enum<QualityAssuranceResult.ResultState>

Version:
$Revision: $
Author:
Holger.Prause

Enum Constant Summary
FAILED
          the activity instance contained errors which must be corrected
PASS_NO_CORRECTION
          the activity instance contained no errors
PASS_WITH_CORRECTION
          the activity instance contained errors and they were corrected by the quality assurance manager
 
Method Summary
static QualityAssuranceResult.ResultState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static QualityAssuranceResult.ResultState[] 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

PASS_WITH_CORRECTION

public static final QualityAssuranceResult.ResultState PASS_WITH_CORRECTION
the activity instance contained errors and they were corrected by the quality assurance manager


PASS_NO_CORRECTION

public static final QualityAssuranceResult.ResultState PASS_NO_CORRECTION
the activity instance contained no errors


FAILED

public static final QualityAssuranceResult.ResultState FAILED
the activity instance contained errors which must be corrected

Method Detail

values

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

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

valueOf

public static QualityAssuranceResult.ResultState 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.