|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ivy.ant.IvyPublish.PublishArtifact
public class IvyPublish.PublishArtifact
Constructor Summary | |
---|---|
IvyPublish.PublishArtifact()
|
Method Summary | |
---|---|
java.lang.String |
getAttribute(java.lang.String attName)
Gets the value of an attribute Can be used to access the value of a standard attribute (like organisation, revision) or of an extra attribute. |
java.util.Map |
getAttributes()
Returns a Map of all attributes of this extendable item, including standard and extra ones. |
java.lang.String[] |
getConfigurations()
Returns the list of configurations where this artifact is associated to. |
java.lang.String |
getExt()
Retrieve the extension of the artifact. |
java.lang.String |
getExtraAttribute(java.lang.String attName)
Gets the value of an extra attribute Can be used only to access the value of an extra attribute, not a standard one (like organisation, revision) |
java.util.Map |
getExtraAttributes()
Returns a Map of all extra attributes of this extendable item. |
ArtifactRevisionId |
getId()
Return the specific identifier of this artifact. |
ModuleRevisionId |
getModuleRevisionId()
Returns the resolved module revision id for this artifact |
java.lang.String |
getName()
Return the name of the artifact, generally 'part' of the basename of the file. |
java.util.Date |
getPublicationDate()
Returns the resolved publication date for this artifact |
java.util.Map |
getQualifiedExtraAttributes()
Returns a Map of all extra attributes of this extendable item. |
java.lang.String |
getStandardAttribute(java.lang.String attName)
|
java.util.Map |
getStandardAttributes()
|
java.lang.String |
getType()
Returns the type of the artifact, typically 'jar', 'source', 'javadoc', 'debian', ... |
java.net.URL |
getUrl()
Returns the url at which this artifact can be found independently of ivy configuration. |
boolean |
isMetadata()
Returns true if this artifact represents a module metadata artifact, false if it's a published artifact |
void |
setExt(java.lang.String ext)
|
void |
setName(java.lang.String name)
|
void |
setType(java.lang.String type)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IvyPublish.PublishArtifact()
Method Detail |
---|
public java.lang.String[] getConfigurations()
Artifact
getConfigurations
in interface Artifact
public java.lang.String getExt()
Artifact
getExt
in interface Artifact
public ArtifactRevisionId getId()
Artifact
getId
in interface Artifact
public ModuleRevisionId getModuleRevisionId()
Artifact
getModuleRevisionId
in interface Artifact
public java.lang.String getName()
Artifact
getName
in interface Artifact
public java.util.Date getPublicationDate()
Artifact
getPublicationDate
in interface Artifact
public java.lang.String getType()
Artifact
getType
in interface Artifact
public java.net.URL getUrl()
Artifact
getUrl
in interface Artifact
public void setExt(java.lang.String ext)
public void setName(java.lang.String name)
public void setType(java.lang.String type)
public java.lang.String getAttribute(java.lang.String attName)
ExtendableItem
getAttribute
in interface ExtendableItem
attName
- the name of the attribute to get
public java.util.Map getAttributes()
ExtendableItem
getAttributes
in interface ExtendableItem
public java.lang.String getExtraAttribute(java.lang.String attName)
ExtendableItem
getExtraAttribute
in interface ExtendableItem
attName
- the name of the extra attribute to get. This name can be either qualified or
unqualified.
public java.util.Map getExtraAttributes()
ExtendableItem
getExtraAttributes
in interface ExtendableItem
ExtendableItem.getQualifiedExtraAttributes()
public java.util.Map getQualifiedExtraAttributes()
ExtendableItem
The Map keys are qualified attribute names as Strings, and values are corresponding attribute values (as String too).
An attribute name is qualified with a namespace exactly the same way xml attributes are
qualified. Thus qualified attribute names are of the form prefix:name
getQualifiedExtraAttributes
in interface ExtendableItem
ExtendableItem.getExtraAttributes()
public java.lang.String getStandardAttribute(java.lang.String attName)
public java.util.Map getStandardAttributes()
public boolean isMetadata()
Artifact
isMetadata
in interface Artifact
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |