public final class SubArtifact extends org.eclipse.aether.artifact.AbstractArtifact
| Constructor | Description |
|---|---|
SubArtifact(org.eclipse.aether.artifact.Artifact mainArtifact,
java.lang.String classifier,
java.lang.String extension) |
Creates a new sub artifact.
|
SubArtifact(org.eclipse.aether.artifact.Artifact mainArtifact,
java.lang.String classifier,
java.lang.String extension,
java.io.File file) |
Creates a new sub artifact.
|
SubArtifact(org.eclipse.aether.artifact.Artifact mainArtifact,
java.lang.String classifier,
java.lang.String extension,
java.util.Map<java.lang.String,java.lang.String> properties) |
Creates a new sub artifact.
|
SubArtifact(org.eclipse.aether.artifact.Artifact mainArtifact,
java.lang.String classifier,
java.lang.String extension,
java.util.Map<java.lang.String,java.lang.String> properties,
java.io.File file) |
Creates a new sub artifact.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getArtifactId() |
|
java.lang.String |
getBaseVersion() |
|
java.lang.String |
getClassifier() |
|
java.lang.String |
getExtension() |
|
java.io.File |
getFile() |
|
java.lang.String |
getGroupId() |
|
java.util.Map<java.lang.String,java.lang.String> |
getProperties() |
|
java.lang.String |
getVersion() |
|
boolean |
isSnapshot() |
|
org.eclipse.aether.artifact.Artifact |
setFile(java.io.File file) |
|
org.eclipse.aether.artifact.Artifact |
setProperties(java.util.Map<java.lang.String,java.lang.String> properties) |
public SubArtifact(org.eclipse.aether.artifact.Artifact mainArtifact, java.lang.String classifier, java.lang.String extension)
mainArtifact - The artifact from which to derive the identity, must not be null.classifier - The classifier for this artifact, may be null if none.extension - The extension for this artifact, may be null if none.public SubArtifact(org.eclipse.aether.artifact.Artifact mainArtifact, java.lang.String classifier, java.lang.String extension, java.io.File file)
mainArtifact - The artifact from which to derive the identity, must not be null.classifier - The classifier for this artifact, may be null if none.extension - The extension for this artifact, may be null if none.file - The file for this artifact, may be null if unresolved.public SubArtifact(org.eclipse.aether.artifact.Artifact mainArtifact, java.lang.String classifier, java.lang.String extension, java.util.Map<java.lang.String,java.lang.String> properties)
mainArtifact - The artifact from which to derive the identity, must not be null.classifier - The classifier for this artifact, may be null if none.extension - The extension for this artifact, may be null if none.properties - The properties of the artifact, may be null.public SubArtifact(org.eclipse.aether.artifact.Artifact mainArtifact, java.lang.String classifier, java.lang.String extension, java.util.Map<java.lang.String,java.lang.String> properties, java.io.File file)
mainArtifact - The artifact from which to derive the identity, must not be null.classifier - The classifier for this artifact, may be null if none.extension - The extension for this artifact, may be null if none.properties - The properties of the artifact, may be null.file - The file for this artifact, may be null if unresolved.public java.lang.String getGroupId()
public java.lang.String getArtifactId()
public java.lang.String getVersion()
public java.lang.String getBaseVersion()
getBaseVersion in class org.eclipse.aether.artifact.AbstractArtifactpublic boolean isSnapshot()
isSnapshot in class org.eclipse.aether.artifact.AbstractArtifactpublic java.lang.String getClassifier()
public java.lang.String getExtension()
public java.io.File getFile()
public org.eclipse.aether.artifact.Artifact setFile(java.io.File file)
setFile in class org.eclipse.aether.artifact.AbstractArtifactpublic java.util.Map<java.lang.String,java.lang.String> getProperties()
public org.eclipse.aether.artifact.Artifact setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
setProperties in class org.eclipse.aether.artifact.AbstractArtifact