Class ConstraintViolationSummary

  • public class ConstraintViolationSummary
    extends Object
    A summary of constraint violations across some number of mutations.
    • Field Detail

      • constrainClass

        public String constrainClass
      • violationCode

        public short violationCode
      • violationDescription

        public String violationDescription
      • numberOfViolatingMutations

        public long numberOfViolatingMutations
    • Constructor Detail

      • ConstraintViolationSummary

        public ConstraintViolationSummary​(String constrainClass,
                                          short violationCode,
                                          String violationDescription,
                                          long numberOfViolatingMutations)
        Creates a new summary.
        constrainClass - class of constraint that was violated
        violationCode - violation code
        violationDescription - description of violation
        numberOfViolatingMutations - number of mutations that produced this particular violation
      • ConstraintViolationSummary

        public ConstraintViolationSummary​(TConstraintViolationSummary tcvs)
        Creates a new summary from Thrift.
        tcvs - Thrift summary
    • Method Detail

      • getConstrainClass

        public String getConstrainClass()
      • getViolationCode

        public short getViolationCode()
      • getViolationDescription

        public String getViolationDescription()
      • getNumberOfViolatingMutations

        public long getNumberOfViolatingMutations()