Package org.eclipse.jetty.maven.plugin
Class ScanTargetPattern
java.lang.Object
org.eclipse.jetty.maven.plugin.ScanTargetPattern
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configureIncludesExcludeSet
(IncludeExcludeSet<PathMatcher, Path> includesExcludes) void
setDirectory
(File directory) void
setExcludes
(List<String> excludes) void
setIncludes
(List<String> includes)
-
Constructor Details
-
ScanTargetPattern
public ScanTargetPattern()
-
-
Method Details
-
getDirectory
- Returns:
- the _directory
-
setDirectory
- Parameters:
directory
- the directory to set
-
setIncludes
-
setExcludes
-
getIncludes
-
getExcludes
-
configureIncludesExcludeSet
-