Class DeployArtifactStub

java.lang.Object
org.apache.maven.plugin.testing.stubs.ArtifactStub
org.apache.maven.plugins.deploy.stubs.DeployArtifactStub
All Implemented Interfaces:
Comparable<org.apache.maven.artifact.Artifact>, org.apache.maven.artifact.Artifact
Direct Known Subclasses:
AttachedArtifactStub

public class DeployArtifactStub extends org.apache.maven.plugin.testing.stubs.ArtifactStub
  • 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
    void
    addMetadata(org.apache.maven.artifact.metadata.ArtifactMetadata metadata)
     
    org.apache.maven.artifact.handler.ArtifactHandler
     
     
     
     
     
    Collection<org.apache.maven.artifact.metadata.ArtifactMetadata>
     
     
     
    boolean
     
    void
     
    void
    setFile(File file)
     
    void
    setRelease(boolean release)
     

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

    compareTo, getAvailableVersions, getClassifier, getDependencyConflictId, getDependencyFilter, getDependencyTrail, getDownloadUrl, getId, getRepository, getScope, getSelectedVersion, getVersionRange, hasClassifier, isFromAuthoritativeRepository, isOptional, isResolved, isSelectedVersionKnown, isSnapshot, selectVersion, setArtifactHandler, setArtifactId, setAvailableVersions, setBaseVersion, setDependencyFilter, setDependencyTrail, setDownloadUrl, setFromAuthoritativeRepository, setGroupId, setOptional, setRepository, setResolved, setResolvedVersion, setScope, setType, setVersion, setVersionRange, toString, updateVersion

    Methods inherited from class java.lang.Object

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

    • DeployArtifactStub

      public DeployArtifactStub()
  • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • setArtifactHandlerExtension

      public void setArtifactHandlerExtension(String extension)
    • addMetadata

      public void addMetadata(org.apache.maven.artifact.metadata.ArtifactMetadata metadata)
      Specified by:
      addMetadata in interface org.apache.maven.artifact.Artifact
      Overrides:
      addMetadata in class org.apache.maven.plugin.testing.stubs.ArtifactStub
    • getMetadataList

      public Collection<org.apache.maven.artifact.metadata.ArtifactMetadata> getMetadataList()
      Specified by:
      getMetadataList in interface org.apache.maven.artifact.Artifact
      Overrides:
      getMetadataList in class org.apache.maven.plugin.testing.stubs.ArtifactStub
    • isRelease

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

      public void setRelease(boolean release)
      Specified by:
      setRelease in interface org.apache.maven.artifact.Artifact
      Overrides:
      setRelease in class org.apache.maven.plugin.testing.stubs.ArtifactStub