Package org.eclipse.jetty.maven.plugin
Class OverlayConfig
- java.lang.Object
-
- org.eclipse.jetty.maven.plugin.OverlayConfig
-
public class OverlayConfig extends java.lang.Object
OverlayConfig
-
-
Constructor Summary
Constructors Constructor Description OverlayConfig()
OverlayConfig(java.lang.String fmt, java.util.List<java.lang.String> defaultIncludes, java.util.List<java.lang.String> defaultExcludes)
OverlayConfig(org.codehaus.plexus.util.xml.Xpp3Dom root, java.util.List<java.lang.String> defaultIncludes, java.util.List<java.lang.String> defaultExcludes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getArtifactId()
java.lang.String
getClassifier()
java.util.List<java.lang.String>
getExcludes()
java.lang.String
getGroupId()
java.util.List<java.lang.String>
getIncludes()
java.lang.String
getTargetPath()
boolean
isCurrentProject()
boolean
isFiltered()
boolean
isSkip()
boolean
matchesArtifact(java.lang.String gid, java.lang.String aid)
Check if this overlay configuration matches an Artifact's infoboolean
matchesArtifact(java.lang.String gid, java.lang.String aid, java.lang.String cls)
Check if this overlay configuration matches an Artifact's infovoid
setArtifactId(java.lang.String artifactId)
void
setClassifier(java.lang.String classifier)
void
setExcludes(java.util.List<java.lang.String> excludes)
void
setFiltered(boolean filtered)
void
setGroupId(java.lang.String groupId)
void
setIncludes(java.util.List<java.lang.String> includes)
void
setSkip(boolean skip)
void
setTargetPath(java.lang.String targetPath)
java.lang.String
toString()
-
-
-
Constructor Detail
-
OverlayConfig
public OverlayConfig()
-
OverlayConfig
public OverlayConfig(java.lang.String fmt, java.util.List<java.lang.String> defaultIncludes, java.util.List<java.lang.String> defaultExcludes)
-
OverlayConfig
public OverlayConfig(org.codehaus.plexus.util.xml.Xpp3Dom root, java.util.List<java.lang.String> defaultIncludes, java.util.List<java.lang.String> defaultExcludes)
-
-
Method Detail
-
getTargetPath
public java.lang.String getTargetPath()
-
setTargetPath
public void setTargetPath(java.lang.String targetPath)
-
getGroupId
public java.lang.String getGroupId()
-
setGroupId
public void setGroupId(java.lang.String groupId)
-
getArtifactId
public java.lang.String getArtifactId()
-
setArtifactId
public void setArtifactId(java.lang.String artifactId)
-
getClassifier
public java.lang.String getClassifier()
-
setClassifier
public void setClassifier(java.lang.String classifier)
-
getIncludes
public java.util.List<java.lang.String> getIncludes()
-
setIncludes
public void setIncludes(java.util.List<java.lang.String> includes)
-
getExcludes
public java.util.List<java.lang.String> getExcludes()
-
setExcludes
public void setExcludes(java.util.List<java.lang.String> excludes)
-
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
public boolean matchesArtifact(java.lang.String gid, java.lang.String aid, java.lang.String cls)
Check if this overlay configuration matches an Artifact's info- Parameters:
gid
- Artifact groupIdaid
- Artifact artifactIdcls
- Artifact classifier- Returns:
- true if matched
-
matchesArtifact
public boolean matchesArtifact(java.lang.String gid, java.lang.String aid)
Check if this overlay configuration matches an Artifact's info- Parameters:
gid
- the group idaid
- the artifact id- Returns:
- true if matched
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-