Class RegexpSinglelineCheck

    • Method Detail

      • setFormat

        public void setFormat​(String format)
        Set the format of the regular expression to match.
        Parameters:
        format - the format of the regular expression to match.
      • setMessage

        public void setMessage​(String message)
        Set the message to report for a match.
        Parameters:
        message - the message to report for a match.
      • setMinimum

        public void setMinimum​(int minimum)
        Set the minimum number of matches required per file.
        Parameters:
        minimum - the minimum number of matches required per file.
      • setMaximum

        public void setMaximum​(int maximum)
        Set the maximum number of matches required per file.
        Parameters:
        maximum - the maximum number of matches required per file.
      • setIgnoreCase

        public void setIgnoreCase​(boolean ignoreCase)
        Set whether to ignore case when matching.
        Parameters:
        ignoreCase - whether to ignore case when matching.