Class ValidationMatcherLibrary


  • public class ValidationMatcherLibrary
    extends Object
    Library holding a set of validation matchers. Each library defines a validation prefix as namespace, so there will be no naming conflicts when using multiple libraries at a time.
    Author:
    Christian Wied
    • Constructor Detail

      • ValidationMatcherLibrary

        public ValidationMatcherLibrary()
    • Method Detail

      • knowsValidationMatcher

        public boolean knowsValidationMatcher​(String validationMatcherName)
        Does this library know a validationMatcher with the given name.
        Parameters:
        validationMatcherName - name to search for.
        Returns:
        boolean flag to mark existence.
      • setMembers

        public void setMembers​(Map<String,​ValidationMatcher> members)
        Set the validationMatcher library content.
        Parameters:
        members -
      • getPrefix

        public String getPrefix()
        Get the library prefix.
        Returns:
      • setPrefix

        public void setPrefix​(String prefix)
        Set the library prefix.
        Parameters:
        prefix -
      • getName

        public String getName()
        Get the validationMatcher library name.
        Returns:
      • setName

        public void setName​(String name)
        Get the name of the validationMatcher library.
        Parameters:
        name -