com.tibco.rta.model.rule
Enum TimeBasedConstraint.Constraint

java.lang.Object
  extended by java.lang.Enum<TimeBasedConstraint.Constraint>
      extended by com.tibco.rta.model.rule.TimeBasedConstraint.Constraint
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TimeBasedConstraint.Constraint>
Enclosing interface:
TimeBasedConstraint

public static enum TimeBasedConstraint.Constraint
extends java.lang.Enum<TimeBasedConstraint.Constraint>

An enumeration of possible constraints.


Enum Constant Summary
TILL_CONDITION_CLEARS
          Once set, perform the set action till the clear condition evaluates to true.
TILL_CONDITION_IMPROVES
          Once set, perform the set action till the set condition evaluates to false not necessarily the clear condition evaluating to true.
 
Method Summary
static TimeBasedConstraint.Constraint valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TimeBasedConstraint.Constraint[] 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

TILL_CONDITION_IMPROVES

public static final TimeBasedConstraint.Constraint TILL_CONDITION_IMPROVES
Once set, perform the set action till the set condition evaluates to false not necessarily the clear condition evaluating to true.


TILL_CONDITION_CLEARS

public static final TimeBasedConstraint.Constraint TILL_CONDITION_CLEARS
Once set, perform the set action till the clear condition evaluates to true.

Method Detail

values

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

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

valueOf

public static TimeBasedConstraint.Constraint 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


Copyright © 2000-2014 TIBCO Inc. All Rights Reserved.