Package generic.constraint
Class Decision
- java.lang.Object
-
- generic.constraint.Decision
-
public class Decision extends java.lang.Object
Result object from getting values that match the constraints for given test object.
-
-
Constructor Summary
Constructors Constructor Description Decision(java.lang.String value, java.util.List<java.lang.String> decisionPath, java.lang.String source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
getDecisionPath()
Returns a list of strings where each string is a description of the constraint that passed to reach this decision.java.lang.String
getDescisionPathString()
Returns a string that is a description of the constraints that passed to reach this decision.java.lang.String
getSource()
Returns the constraint source file that added the value for this decision.java.lang.String
getValue()
Returns the value of the property for which this decision matched the constraints
-
-
-
Method Detail
-
getValue
public java.lang.String getValue()
Returns the value of the property for which this decision matched the constraints- Returns:
- the value of the property for which this decision matched the constraints
-
getSource
public java.lang.String getSource()
Returns the constraint source file that added the value for this decision.- Returns:
- the constraint source file that added the value for this decision.
-
getDecisionPath
public java.util.List<java.lang.String> getDecisionPath()
Returns a list of strings where each string is a description of the constraint that passed to reach this decision.- Returns:
- a list of strings where each string is a description of the constraint that passed to reach this decision.
-
getDescisionPathString
public java.lang.String getDescisionPathString()
Returns a string that is a description of the constraints that passed to reach this decision.- Returns:
- a string that is a description of the constraints that passed to reach this decision.
-
-