com.newisys.ova
Enum OVAAssertAction

java.lang.Object
  extended by java.lang.Enum<OVAAssertAction>
      extended by com.newisys.ova.OVAAssertAction
All Implemented Interfaces:
Serializable, Comparable<OVAAssertAction>

public enum OVAAssertAction
extends Enum<OVAAssertAction>

Actions that can be performed on an OVAAssert via its OVAAssert.doAction(com.newisys.ova.OVAAssertAction, long) method.


Enum Constant Summary
DisableNewAttemptReporting
          TODO: document DisableNewAttemptReporting
DisableNewAttempts
          Disables new attempts to match the assertion.
EnableNewAttemptReporting
          TODO: document EnableNewAttemptReporting
EnableNewAttempts
          Enables new attempts to match the assertion.
EnableTraceOn
          TODO: document EnableTraceOn
KillAttempt
          TODO: document KillAttmpt
Reset
          Resets temporal assertions, discarding the current state.
 
Method Summary
 int getValue()
          Returns the integer value associated with this OVAAssertAction.
static OVAAssertAction valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OVAAssertAction[] values()
          Returns an array containing the constants of this enum type, in the order they're 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

Reset

public static final OVAAssertAction Reset
Resets temporal assertions, discarding the current state. This has no effect on non-temporal assertions.


DisableNewAttempts

public static final OVAAssertAction DisableNewAttempts
Disables new attempts to match the assertion. This has no effect on match attempts that started prior to and including the clock on which this action is performed.


EnableNewAttempts

public static final OVAAssertAction EnableNewAttempts
Enables new attempts to match the assertion. The attempts are enabled on the clock immediately after the clock on which this action is performed.


KillAttempt

public static final OVAAssertAction KillAttempt
TODO: document KillAttmpt


EnableTraceOn

public static final OVAAssertAction EnableTraceOn
TODO: document EnableTraceOn


DisableNewAttemptReporting

public static final OVAAssertAction DisableNewAttemptReporting
TODO: document DisableNewAttemptReporting


EnableNewAttemptReporting

public static final OVAAssertAction EnableNewAttemptReporting
TODO: document EnableNewAttemptReporting

Method Detail

values

public static final OVAAssertAction[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(OVAAssertAction c : OVAAssertAction.values())
        System.out.println(c);

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

valueOf

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

getValue

public int getValue()
Returns the integer value associated with this OVAAssertAction.

Returns:
the integer value of this enumeration