Buildable, PublicationArtifactpublic interface IvyArtifact extends PublicationArtifact
IvyPublication.| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getClassifier() |
The classifier used to publish the artifact file.
|
java.lang.String |
getConf() |
A comma separated list of public configurations in which this artifact is published.
|
java.lang.String |
getExtension() |
The extension used to publish the artifact file, never
null. |
java.lang.String |
getName() |
The name used to publish the artifact file, never
null. |
java.lang.String |
getType() |
The type used to publish the artifact file, never
null. |
void |
setClassifier(java.lang.String classifier) |
Sets the classifier used to publish the artifact file.
|
void |
setConf(java.lang.String conf) |
Sets a comma separated list of public configurations in which this artifact is published.
|
void |
setExtension(java.lang.String extension) |
Sets the extension used to publish the artifact file.
|
void |
setName(java.lang.String name) |
Sets the name used to publish the artifact file.
|
void |
setType(java.lang.String type) |
Sets the type used to publish the artifact file.
|
getBuildDependenciesbuiltBy, getFilejava.lang.String getName()
null.
Defaults to the name of the module that this artifact belongs to.void setName(java.lang.String name)
name - The name.java.lang.String getType()
null.void setType(java.lang.String type)
type - The type.java.lang.String getExtension()
null.
For an artifact without an extension, this value will be an empty String.void setExtension(java.lang.String extension)
extension - The extension.@Nullable java.lang.String getClassifier()
null value (the default) indicates that this artifact will be published without a classifier.void setClassifier(@Nullable
java.lang.String classifier)
classifier - The classifier.@Nullable java.lang.String getConf()
null value (the default) indicates that this artifact will be published without a conf attribute.void setConf(@Nullable
java.lang.String conf)
conf - The value of 'conf' for this artifact.