public class DeployArtifactStub extends ArtifactStub
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 and Description |
---|
DeployArtifactStub() |
Modifier and Type | Method and Description |
---|---|
void |
addMetadata(ArtifactMetadata metadata) |
ArtifactHandler |
getArtifactHandler() |
String |
getArtifactId() |
String |
getBaseVersion() |
File |
getFile() |
String |
getGroupId() |
Collection<ArtifactMetadata> |
getMetadataList() |
String |
getType() |
String |
getVersion() |
boolean |
isRelease() |
void |
setArtifactHandlerExtension(String extension) |
void |
setFile(File file) |
void |
setRelease(boolean release) |
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
public String getArtifactId()
getArtifactId
in interface Artifact
getArtifactId
in class ArtifactStub
public String getGroupId()
getGroupId
in interface Artifact
getGroupId
in class ArtifactStub
public String getVersion()
getVersion
in interface Artifact
getVersion
in class ArtifactStub
public String getBaseVersion()
getBaseVersion
in interface Artifact
getBaseVersion
in class ArtifactStub
public String getType()
getType
in interface Artifact
getType
in class ArtifactStub
public void setFile(File file)
setFile
in interface Artifact
setFile
in class ArtifactStub
public File getFile()
getFile
in interface Artifact
getFile
in class ArtifactStub
public ArtifactHandler getArtifactHandler()
getArtifactHandler
in interface Artifact
getArtifactHandler
in class ArtifactStub
public void setArtifactHandlerExtension(String extension)
public void addMetadata(ArtifactMetadata metadata)
addMetadata
in interface Artifact
addMetadata
in class ArtifactStub
public Collection<ArtifactMetadata> getMetadataList()
getMetadataList
in interface Artifact
getMetadataList
in class ArtifactStub
public boolean isRelease()
isRelease
in interface Artifact
isRelease
in class ArtifactStub
public void setRelease(boolean release)
setRelease
in interface Artifact
setRelease
in class ArtifactStub
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.