|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.project.artifact.ActiveProjectArtifact
@Deprecated public class ActiveProjectArtifact
Wraps an active project instance to be able to receive updates from its artifact without affecting the original attributes of this artifact.
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 | |
---|---|
ActiveProjectArtifact(MavenProject project,
Artifact artifact)
Deprecated. |
Method Summary | |
---|---|
void |
addMetadata(ArtifactMetadata metadata)
Deprecated. |
int |
compareTo(Artifact a)
Deprecated. |
boolean |
equals(Object o)
Deprecated. |
ArtifactHandler |
getArtifactHandler()
Deprecated. |
String |
getArtifactId()
Deprecated. |
List<ArtifactVersion> |
getAvailableVersions()
Deprecated. |
String |
getBaseVersion()
Deprecated. |
String |
getClassifier()
Deprecated. |
String |
getDependencyConflictId()
Deprecated. |
ArtifactFilter |
getDependencyFilter()
Deprecated. |
List<String> |
getDependencyTrail()
Deprecated. |
String |
getDownloadUrl()
Deprecated. |
File |
getFile()
Deprecated. |
String |
getGroupId()
Deprecated. |
String |
getId()
Deprecated. |
Collection<ArtifactMetadata> |
getMetadataList()
Deprecated. |
ArtifactRepository |
getRepository()
Deprecated. |
String |
getScope()
Deprecated. |
ArtifactVersion |
getSelectedVersion()
Deprecated. |
String |
getType()
Deprecated. |
String |
getVersion()
Deprecated. |
VersionRange |
getVersionRange()
Deprecated. |
boolean |
hasClassifier()
Deprecated. |
int |
hashCode()
Deprecated. |
boolean |
isOptional()
Deprecated. |
boolean |
isRelease()
Deprecated. |
boolean |
isResolved()
Deprecated. |
boolean |
isSelectedVersionKnown()
Deprecated. |
boolean |
isSnapshot()
Deprecated. |
void |
selectVersion(String version)
Deprecated. |
void |
setArtifactHandler(ArtifactHandler handler)
Deprecated. |
void |
setArtifactId(String artifactId)
Deprecated. |
void |
setAvailableVersions(List<ArtifactVersion> versions)
Deprecated. |
void |
setBaseVersion(String baseVersion)
Deprecated. |
void |
setDependencyFilter(ArtifactFilter artifactFilter)
Deprecated. |
void |
setDependencyTrail(List<String> dependencyTrail)
Deprecated. |
void |
setDownloadUrl(String downloadUrl)
Deprecated. |
void |
setFile(File destination)
Deprecated. |
void |
setGroupId(String groupId)
Deprecated. |
void |
setOptional(boolean optional)
Deprecated. |
void |
setRelease(boolean release)
Deprecated. |
void |
setRepository(ArtifactRepository remoteRepository)
Deprecated. |
void |
setResolved(boolean resolved)
Deprecated. |
void |
setResolvedVersion(String version)
Deprecated. |
void |
setScope(String scope)
Deprecated. |
void |
setVersion(String version)
Deprecated. |
void |
setVersionRange(VersionRange newRange)
Deprecated. |
String |
toString()
Deprecated. |
void |
updateVersion(String version,
ArtifactRepository localRepository)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ActiveProjectArtifact(MavenProject project, Artifact artifact)
Method Detail |
---|
public File getFile()
getFile
in interface Artifact
public String getGroupId()
getGroupId
in interface Artifact
public String getArtifactId()
getArtifactId
in interface Artifact
public String getVersion()
getVersion
in interface Artifact
public void setVersion(String version)
setVersion
in interface Artifact
public String getScope()
getScope
in interface Artifact
public String getType()
getType
in interface Artifact
public String getClassifier()
getClassifier
in interface Artifact
public boolean hasClassifier()
hasClassifier
in interface Artifact
public void setFile(File destination)
setFile
in interface Artifact
public String getBaseVersion()
getBaseVersion
in interface Artifact
public void setBaseVersion(String baseVersion)
setBaseVersion
in interface Artifact
public String getId()
getId
in interface Artifact
public String getDependencyConflictId()
getDependencyConflictId
in interface Artifact
public void addMetadata(ArtifactMetadata metadata)
addMetadata
in interface Artifact
public Collection<ArtifactMetadata> getMetadataList()
getMetadataList
in interface Artifact
public void setRepository(ArtifactRepository remoteRepository)
setRepository
in interface Artifact
public ArtifactRepository getRepository()
getRepository
in interface Artifact
public void updateVersion(String version, ArtifactRepository localRepository)
updateVersion
in interface Artifact
public String getDownloadUrl()
getDownloadUrl
in interface Artifact
public void setDownloadUrl(String downloadUrl)
setDownloadUrl
in interface Artifact
public ArtifactFilter getDependencyFilter()
getDependencyFilter
in interface Artifact
public void setDependencyFilter(ArtifactFilter artifactFilter)
setDependencyFilter
in interface Artifact
public ArtifactHandler getArtifactHandler()
getArtifactHandler
in interface Artifact
public List<String> getDependencyTrail()
getDependencyTrail
in interface Artifact
public void setDependencyTrail(List<String> dependencyTrail)
setDependencyTrail
in interface Artifact
public void setScope(String scope)
setScope
in interface Artifact
public VersionRange getVersionRange()
getVersionRange
in interface Artifact
public void setVersionRange(VersionRange newRange)
setVersionRange
in interface Artifact
public void selectVersion(String version)
selectVersion
in interface Artifact
public void setGroupId(String groupId)
setGroupId
in interface Artifact
public void setArtifactId(String artifactId)
setArtifactId
in interface Artifact
public boolean isSnapshot()
isSnapshot
in interface Artifact
public int compareTo(Artifact a)
compareTo
in interface Comparable<Artifact>
public void setResolved(boolean resolved)
setResolved
in interface Artifact
public boolean isResolved()
isResolved
in interface Artifact
public void setResolvedVersion(String version)
setResolvedVersion
in interface Artifact
public void setArtifactHandler(ArtifactHandler handler)
setArtifactHandler
in interface Artifact
public String toString()
toString
in class Object
public boolean isRelease()
isRelease
in interface Artifact
public void setRelease(boolean release)
setRelease
in interface Artifact
public List<ArtifactVersion> getAvailableVersions()
getAvailableVersions
in interface Artifact
public void setAvailableVersions(List<ArtifactVersion> versions)
setAvailableVersions
in interface Artifact
public boolean isOptional()
isOptional
in interface Artifact
public ArtifactVersion getSelectedVersion() throws OverConstrainedVersionException
getSelectedVersion
in interface Artifact
OverConstrainedVersionException
public boolean isSelectedVersionKnown() throws OverConstrainedVersionException
isSelectedVersionKnown
in interface Artifact
OverConstrainedVersionException
public void setOptional(boolean optional)
setOptional
in interface Artifact
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |