Enum EvaluationResult.ConstraintEvaluationResult
- java.lang.Object
-
- java.lang.Enum<EvaluationResult.ConstraintEvaluationResult>
-
- net.ssehub.easy.reasoning.core.reasoner.EvaluationResult.ConstraintEvaluationResult
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EvaluationResult.ConstraintEvaluationResult>
- Enclosing class:
- EvaluationResult
public static enum EvaluationResult.ConstraintEvaluationResult extends java.lang.Enum<EvaluationResult.ConstraintEvaluationResult>
Denotes the possible results of a constraint evaluation.- Author:
- Holger Eichelberger
-
-
Constructor Summary
Constructors Modifier Constructor Description privateConstraintEvaluationResult()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EvaluationResult.ConstraintEvaluationResultvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EvaluationResult.ConstraintEvaluationResult[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRUE
public static final EvaluationResult.ConstraintEvaluationResult TRUE
Signals that the constraint was evaluated totrue.
-
FALSE
public static final EvaluationResult.ConstraintEvaluationResult FALSE
Signals that the constraint was evaluated tofalse.
-
UNKNOWN
public static final EvaluationResult.ConstraintEvaluationResult UNKNOWN
Signals that the constraint cannot be evaluated at all.
-
-
Method Detail
-
values
public static EvaluationResult.ConstraintEvaluationResult[] 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 (EvaluationResult.ConstraintEvaluationResult c : EvaluationResult.ConstraintEvaluationResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EvaluationResult.ConstraintEvaluationResult 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 namejava.lang.NullPointerException- if the argument is null
-
-