Class OverlayConfig

java.lang.Object
org.eclipse.jetty.maven.plugin.OverlayConfig

public class OverlayConfig extends Object
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 Details

    • OverlayConfig

      public OverlayConfig()
    • OverlayConfig

      public OverlayConfig(String fmt, List<String> defaultIncludes, List<String> defaultExcludes)
    • OverlayConfig

      public OverlayConfig(org.codehaus.plexus.util.xml.Xpp3Dom root, List<String> defaultIncludes, List<String> defaultExcludes)
  • Method Details

    • getTargetPath

      public String getTargetPath()
    • setTargetPath

      public void setTargetPath(String targetPath)
    • getGroupId

      public String getGroupId()
    • setGroupId

      public void setGroupId(String groupId)
    • getArtifactId

      public String getArtifactId()
    • setArtifactId

      public void setArtifactId(String artifactId)
    • getClassifier

      public String getClassifier()
    • setClassifier

      public void setClassifier(String classifier)
    • getIncludes

      public List<String> getIncludes()
    • setIncludes

      public void setIncludes(List<String> includes)
    • getExcludes

      public List<String> getExcludes()
    • setExcludes

      public void setExcludes(List<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(String gid, String aid, String cls)
      Check if this overlay configuration matches an Artifact's info
      Parameters:
      gid - Artifact groupId
      aid - Artifact artifactId
      cls - Artifact classifier
      Returns:
      true if matched
    • matchesArtifact

      public boolean matchesArtifact(String gid, String aid)
      Check if this overlay configuration matches an Artifact's info
      Parameters:
      gid - the group id
      aid - the artifact id
      Returns:
      true if matched
    • toString

      public String toString()
      Overrides:
      toString in class Object