|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ivy.core.module.descriptor.AbstractArtifact
public abstract class AbstractArtifact
| Constructor Summary | |
|---|---|
AbstractArtifact()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
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 |
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. |
java.util.Map |
getQualifiedExtraAttributes()
Returns a Map of all extra attributes of this extendable item. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.ivy.core.module.descriptor.Artifact |
|---|
getConfigurations, getExt, getId, getModuleRevisionId, getName, getPublicationDate, getType, getUrl, isMetadata |
| Constructor Detail |
|---|
public AbstractArtifact()
| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getAttribute(java.lang.String attName)
ExtendableItem
getAttribute in interface ExtendableItemattName - the name of the attribute to get
public java.util.Map getAttributes()
ExtendableItem
getAttributes in interface ExtendableItempublic java.lang.String getExtraAttribute(java.lang.String attName)
ExtendableItem
getExtraAttribute in interface ExtendableItemattName - 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 ExtendableItemExtendableItem.getQualifiedExtraAttributes()public java.util.Map getQualifiedExtraAttributes()
ExtendableItemThe 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 ExtendableItemExtendableItem.getExtraAttributes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||