Class ScanTargetPattern

  • public class ScanTargetPattern
    extends java.lang.Object
    ScanTargetPattern Utility class to provide the ability for the mvn jetty:run mojo to be able to specify filesets of extra files to regularly scan for changes in order to redeploy the webapp. For example: <scanTargetPattern> <directory>/some/place</directory> <includes> <include>some ant pattern here </include> <include>some ant pattern here </include> </includes> <excludes> <exclude>some ant pattern here </exclude> <exclude>some ant pattern here </exclude> </excludes> </scanTargetPattern>
    • Constructor Detail

      • ScanTargetPattern

        public ScanTargetPattern()
    • Method Detail

      • getDirectory

        public getDirectory()
        the _directory
      • setDirectory

        public void setDirectory​( directory)
        directory - the directory to set
      • setIncludes

        public void setIncludes​(java.util.List<java.lang.String> includes)
      • setExcludes

        public void setExcludes​(java.util.List<java.lang.String> excludes)
      • getIncludes

        public java.util.List<java.lang.String> getIncludes()
      • getExcludes

        public java.util.List<java.lang.String> getExcludes()
      • configureIncludesExcludeSet

        public void configureIncludesExcludeSet​(IncludeExcludeSet<java.nio.file.PathMatcher,​java.nio.file.Path> includesExcludes)