Class 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)  
    • 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 groupId
        aid - Artifact artifactId
        cls - 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 id
        aid - the artifact id
        Returns:
        true if matched
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object