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