Class DefaultArtifact
java.lang.Object
org.fedoraproject.xmvn.artifact.DefaultArtifact
- All Implemented Interfaces:
Artifact
Deprecated.
- Author:
- Mikolaj Izdebski
-
Field Summary
Fields inherited from interface Artifact
DEFAULT_EXTENSION, DEFAULT_VERSION, MF_KEY_ARTIFACTID, MF_KEY_CLASSIFIER, MF_KEY_EXTENSION, MF_KEY_GROUPID, MF_KEY_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionDefaultArtifact(String coords) Deprecated.DefaultArtifact(String groupId, String artifactId) Deprecated.DefaultArtifact(String groupId, String artifactId, String version) Deprecated.DefaultArtifact(String groupId, String artifactId, String extension, String version) Deprecated.DefaultArtifact(String groupId, String artifactId, String extension, String classifier, String version) Deprecated.DefaultArtifact(String groupId, String artifactId, String extension, String classifier, String version, Path path) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Deprecated.Returns the artifact identifier of this artifact.Deprecated.Returns the classifier of this artifact.Deprecated.Returns the extension of this artifact.Deprecated.Returns the group identifier of this artifact.getPath()Deprecated.Returns the local file path of the artifact, ornullif the artifact is unresolved (i.e., has no associated file).Deprecated.Returns the version of this artifact.inthashCode()Deprecated.toString()Deprecated.Deprecated.Creates a new artifact instance with the specified file path.withVersion(String version) Deprecated.Creates a new artifact instance with the specified version.Methods inherited from interface Artifact
setPath, setVersion
-
Constructor Details
-
DefaultArtifact
Deprecated. -
DefaultArtifact
-
DefaultArtifact
-
DefaultArtifact
-
DefaultArtifact
-
DefaultArtifact
-
-
Method Details
-
getGroupId
Deprecated.Description copied from interface:ArtifactReturns the group identifier of this artifact.- Specified by:
getGroupIdin interfaceArtifact- Returns:
- the group identifier, never
null
-
getArtifactId
Deprecated.Description copied from interface:ArtifactReturns the artifact identifier of this artifact.- Specified by:
getArtifactIdin interfaceArtifact- Returns:
- the artifact identifier, never
null
-
getExtension
Deprecated.Description copied from interface:ArtifactReturns the extension of this artifact.- Specified by:
getExtensionin interfaceArtifact- Returns:
- the artifact extension, never
null
-
getClassifier
Deprecated.Description copied from interface:ArtifactReturns the classifier of this artifact.- Specified by:
getClassifierin interfaceArtifact- Returns:
- the artifact classifier, never
null
-
getVersion
Deprecated.Description copied from interface:ArtifactReturns the version of this artifact.- Specified by:
getVersionin interfaceArtifact- Returns:
- the artifact version, never
null
-
getPath
-
withVersion
Deprecated.Description copied from interface:ArtifactCreates a new artifact instance with the specified version.- Specified by:
withVersionin interfaceArtifact- Parameters:
version- the new version to set- Returns:
- a new artifact instance with the updated version
-
withPath
-
toString
-
equals
-
hashCode
-