Package org.eclipse.jetty.maven.plugin
Class ScanTargetPattern
- java.lang.Object
-
- org.eclipse.jetty.maven.plugin.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 Summary
Constructors Constructor Description ScanTargetPattern()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configureIncludesExcludeSet(IncludeExcludeSet<java.nio.file.PathMatcher,java.nio.file.Path> includesExcludes)
java.io.File
getDirectory()
java.util.List<java.lang.String>
getExcludes()
java.util.List<java.lang.String>
getIncludes()
void
setDirectory(java.io.File directory)
void
setExcludes(java.util.List<java.lang.String> excludes)
void
setIncludes(java.util.List<java.lang.String> includes)
-
-
-
Method Detail
-
getDirectory
public java.io.File getDirectory()
- Returns:
- the _directory
-
setDirectory
public void setDirectory(java.io.File directory)
- Parameters:
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)
-
-