Package org.eclipse.jetty.maven.plugin
Class OverlayConfig
java.lang.Object
org.eclipse.jetty.maven.plugin.OverlayConfig
OverlayConfig
The configuration of a war overlay in a pom. Used to help determine which resources
from a project's dependent war should be included.
-
Constructor Summary
ConstructorsConstructorDescriptionOverlayConfig(org.codehaus.plexus.util.xml.Xpp3Dom root, List<String> defaultIncludes, List<String> defaultExcludes) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanisSkip()booleanmatchesArtifact(String gid, String aid) Check if this overlay configuration matches an Artifact's infobooleanmatchesArtifact(String gid, String aid, String cls) Check if this overlay configuration matches an Artifact's infovoidsetArtifactId(String artifactId) voidsetClassifier(String classifier) voidsetExcludes(List<String> excludes) voidsetFiltered(boolean filtered) voidsetGroupId(String groupId) voidsetIncludes(List<String> includes) voidsetSkip(boolean skip) voidsetTargetPath(String targetPath) toString()
-
Constructor Details
-
OverlayConfig
public OverlayConfig() -
OverlayConfig
-
OverlayConfig
-
-
Method Details
-
getTargetPath
-
setTargetPath
-
getGroupId
-
setGroupId
-
getArtifactId
-
setArtifactId
-
getClassifier
-
setClassifier
-
getIncludes
-
setIncludes
-
getExcludes
-
setExcludes
-
isSkip
public boolean isSkip() -
setSkip
public void setSkip(boolean skip) -
isFiltered
public boolean isFiltered() -
setFiltered
public void setFiltered(boolean filtered) -
isCurrentProject
public boolean isCurrentProject() -
matchesArtifact
Check if this overlay configuration matches an Artifact's info- Parameters:
gid- Artifact groupIdaid- Artifact artifactIdcls- Artifact classifier- Returns:
- true if matched
-
matchesArtifact
Check if this overlay configuration matches an Artifact's info- Parameters:
gid- the group idaid- the artifact id- Returns:
- true if matched
-
toString
-