Class DefaultKeySizeConstraint

    • Field Detail

      • MAX__KEY_SIZE_EXCEEDED_VIOLATION

        protected static final short MAX__KEY_SIZE_EXCEEDED_VIOLATION
        Deprecated.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultKeySizeConstraint

        public DefaultKeySizeConstraint()
        Deprecated.
    • Method Detail

      • check

        public List<Short> check​(Constraint.Environment env,
                                 Mutation mutation)
        Deprecated.
        Description copied from interface: Constraint
        Checks a mutation for constraint violations. If the mutation contains no violations, returns null. Otherwise, returns a list of violation codes. Violation codes must be non-negative. Negative violation codes are reserved for system use.
        Specified by:
        check in interface Constraint
        Parameters:
        env - constraint environment
        mutation - mutation to check
        Returns:
        list of violation codes, or null if none