Class PathSpecification

    • Constructor Detail

      • PathSpecification

        @DataBoundConstructor
        public PathSpecification​(@CheckForNull
                                 String includes,
                                 @CheckForNull
                                 String excludes,
                                 boolean caseSensitive)
        Constructor for stapler.
        Parameters:
        includes - Paths to match. A comma separated set of path with * wildcards supported. null signifies include everything.
        excludes - Paths to explicitly not match. A comma separated set of path with * wildcards supported. null signifies exclude nothing.
        caseSensitive - true if the path match should be case sensitive.
    • Method Detail

      • getIncludes

        @CheckForNull
        public String getIncludes()
        Returns the paths to match. A whitespace separated set of path with * wildcards supported. null signifies include everything.
        Returns:
        the paths to match.
      • getExcludes

        @CheckForNull
        public String getExcludes()
        Returns the paths to explicitly not match. A comma separated set of path with * wildcards supported. null signifies include everything.
        Returns:
        the paths to explicitly not match.
      • isCaseSensitive

        public boolean isCaseSensitive()