Class Decision

java.lang.Object
generic.constraint.Decision

public class Decision extends Object
Result object from getting values that match the constraints for given test object.
  • Constructor Details Link icon

  • Method Details Link icon

    • getValue Link icon

      public 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 Link icon

      public 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 Link icon

      public List<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 Link icon

      public 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.