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
ConstructorDescriptionOverlayConfig
(org.codehaus.plexus.util.xml.Xpp3Dom root, List<String> defaultIncludes, List<String> defaultExcludes) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
isSkip()
boolean
matchesArtifact
(String gid, String aid) Check if this overlay configuration matches an Artifact's infoboolean
matchesArtifact
(String gid, String aid, String cls) Check if this overlay configuration matches an Artifact's infovoid
setArtifactId
(String artifactId) void
setClassifier
(String classifier) void
setExcludes
(List<String> excludes) void
setFiltered
(boolean filtered) void
setGroupId
(String groupId) void
setIncludes
(List<String> includes) void
setSkip
(boolean skip) void
setTargetPath
(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
-