Class RegexpMultilineCheck

    • Constructor Detail

      • RegexpMultilineCheck

        public RegexpMultilineCheck()
    • Method Detail

      • processFiltered

        protected void processFiltered​(File file,
                                       FileText fileText)
        Description copied from class: AbstractFileSetCheck
        Called to process a file that matches the specified file extensions.
        Specified by:
        processFiltered in class AbstractFileSetCheck
        Parameters:
        file - the file to be processed
        fileText - the contents of the file.
      • setFormat

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

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

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

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

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