Class RarArtifactStub

java.lang.Object
org.apache.maven.plugin.testing.stubs.ArtifactStub
org.apache.maven.plugins.rar.stubs.RarArtifactStub
All Implemented Interfaces:
Comparable<org.apache.maven.artifact.Artifact>, org.apache.maven.artifact.Artifact

public class RarArtifactStub extends org.apache.maven.plugin.testing.stubs.ArtifactStub
Author:
Allan Ramirez
  • Field Summary

    Fields inherited from interface org.apache.maven.artifact.Artifact

    LATEST_VERSION, RELEASE_VERSION, SCOPE_COMPILE, SCOPE_COMPILE_PLUS_RUNTIME, SCOPE_IMPORT, SCOPE_PROVIDED, SCOPE_RUNTIME, SCOPE_RUNTIME_PLUS_SYSTEM, SCOPE_SYSTEM, SCOPE_TEST, SNAPSHOT_VERSION, VERSION_FILE_PATTERN
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.maven.artifact.handler.ArtifactHandler
     
     
     
     
     
     
     
     
     
    org.apache.maven.artifact.versioning.VersionRange
     
    boolean
     
    void
    setArtifactId(String artifactId)
     
    void
    setFile(File file)
     
    void
    setGroupId(String groupId)
     
    void
    setOptional(boolean optional)
     
    void
     
    void
    setVersion(String version)
     

    Methods inherited from class org.apache.maven.plugin.testing.stubs.ArtifactStub

    addMetadata, compareTo, getAvailableVersions, getClassifier, getDependencyConflictId, getDependencyFilter, getDependencyTrail, getDownloadUrl, getMetadataList, getRepository, getSelectedVersion, hasClassifier, isFromAuthoritativeRepository, isRelease, isResolved, isSelectedVersionKnown, isSnapshot, selectVersion, setArtifactHandler, setAvailableVersions, setBaseVersion, setDependencyFilter, setDependencyTrail, setDownloadUrl, setFromAuthoritativeRepository, setRelease, setRepository, setResolved, setResolvedVersion, setType, setVersionRange, toString, updateVersion

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • RarArtifactStub

      public RarArtifactStub()
  • Method Details

    • getArtifactId

      public String getArtifactId()
      Specified by:
      getArtifactId in interface org.apache.maven.artifact.Artifact
      Overrides:
      getArtifactId in class org.apache.maven.plugin.testing.stubs.ArtifactStub
    • setArtifactId

      public void setArtifactId(String artifactId)
      Specified by:
      setArtifactId in interface org.apache.maven.artifact.Artifact
      Overrides:
      setArtifactId in class org.apache.maven.plugin.testing.stubs.ArtifactStub
    • getFile

      public File getFile()
      Specified by:
      getFile in interface org.apache.maven.artifact.Artifact
      Overrides:
      getFile in class org.apache.maven.plugin.testing.stubs.ArtifactStub
    • setFile

      public void setFile(File file)
      Specified by:
      setFile in interface org.apache.maven.artifact.Artifact
      Overrides:
      setFile in class org.apache.maven.plugin.testing.stubs.ArtifactStub
    • getGroupId

      public String getGroupId()
      Specified by:
      getGroupId in interface org.apache.maven.artifact.Artifact
      Overrides:
      getGroupId in class org.apache.maven.plugin.testing.stubs.ArtifactStub
    • setGroupId

      public void setGroupId(String groupId)
      Specified by:
      setGroupId in interface org.apache.maven.artifact.Artifact
      Overrides:
      setGroupId in class org.apache.maven.plugin.testing.stubs.ArtifactStub
    • isOptional

      public boolean isOptional()
      Specified by:
      isOptional in interface org.apache.maven.artifact.Artifact
      Overrides:
      isOptional in class org.apache.maven.plugin.testing.stubs.ArtifactStub
    • setOptional

      public void setOptional(boolean optional)
      Specified by:
      setOptional in interface org.apache.maven.artifact.Artifact
      Overrides:
      setOptional in class org.apache.maven.plugin.testing.stubs.ArtifactStub
    • getScope

      public String getScope()
      Specified by:
      getScope in interface org.apache.maven.artifact.Artifact
      Overrides:
      getScope in class org.apache.maven.plugin.testing.stubs.ArtifactStub
    • setScope

      public void setScope(String scope)
      Specified by:
      setScope in interface org.apache.maven.artifact.Artifact
      Overrides:
      setScope in class org.apache.maven.plugin.testing.stubs.ArtifactStub
    • getVersion

      public String getVersion()
      Specified by:
      getVersion in interface org.apache.maven.artifact.Artifact
      Overrides:
      getVersion in class org.apache.maven.plugin.testing.stubs.ArtifactStub
    • setVersion

      public void setVersion(String version)
      Specified by:
      setVersion in interface org.apache.maven.artifact.Artifact
      Overrides:
      setVersion in class org.apache.maven.plugin.testing.stubs.ArtifactStub
    • getId

      public String getId()
      Specified by:
      getId in interface org.apache.maven.artifact.Artifact
      Overrides:
      getId in class org.apache.maven.plugin.testing.stubs.ArtifactStub
    • getBaseVersion

      public String getBaseVersion()
      Specified by:
      getBaseVersion in interface org.apache.maven.artifact.Artifact
      Overrides:
      getBaseVersion in class org.apache.maven.plugin.testing.stubs.ArtifactStub
    • getVersionRange

      public org.apache.maven.artifact.versioning.VersionRange getVersionRange()
      Specified by:
      getVersionRange in interface org.apache.maven.artifact.Artifact
      Overrides:
      getVersionRange in class org.apache.maven.plugin.testing.stubs.ArtifactStub
    • getArtifactHandler

      public org.apache.maven.artifact.handler.ArtifactHandler getArtifactHandler()
      Specified by:
      getArtifactHandler in interface org.apache.maven.artifact.Artifact
      Overrides:
      getArtifactHandler in class org.apache.maven.plugin.testing.stubs.ArtifactStub
    • getType

      public String getType()
      Specified by:
      getType in interface org.apache.maven.artifact.Artifact
      Overrides:
      getType in class org.apache.maven.plugin.testing.stubs.ArtifactStub