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

  • Method Details

    • getValue

      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

      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

      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

      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.