|
|||||||||
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
org.apache.ivy.core.module.descriptor.MDArtifact
public class MDArtifact
Constructor Summary | |
---|---|
MDArtifact(ModuleDescriptor md,
java.lang.String name,
java.lang.String type,
java.lang.String ext)
|
|
MDArtifact(ModuleDescriptor md,
java.lang.String name,
java.lang.String type,
java.lang.String ext,
boolean isMetadata)
|
|
MDArtifact(ModuleDescriptor md,
java.lang.String name,
java.lang.String type,
java.lang.String ext,
java.net.URL url,
java.util.Map extraAttributes)
|
Method Summary | |
---|---|
void |
addConfiguration(java.lang.String conf)
|
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. |
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.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 |
static Artifact |
newIvyArtifact(ModuleDescriptor md)
|
Methods inherited from class org.apache.ivy.core.module.descriptor.AbstractArtifact |
---|
equals, getAttribute, getAttributes, getExtraAttribute, getExtraAttributes, getQualifiedExtraAttributes, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MDArtifact(ModuleDescriptor md, java.lang.String name, java.lang.String type, java.lang.String ext)
public MDArtifact(ModuleDescriptor md, java.lang.String name, java.lang.String type, java.lang.String ext, boolean isMetadata)
public MDArtifact(ModuleDescriptor md, java.lang.String name, java.lang.String type, java.lang.String ext, java.net.URL url, java.util.Map extraAttributes)
Method Detail |
---|
public static Artifact newIvyArtifact(ModuleDescriptor md)
public ModuleRevisionId getModuleRevisionId()
Artifact
public java.util.Date getPublicationDate()
Artifact
public ArtifactRevisionId getId()
Artifact
public java.lang.String getName()
Artifact
public java.lang.String getType()
Artifact
public java.lang.String getExt()
Artifact
public java.lang.String[] getConfigurations()
Artifact
public void addConfiguration(java.lang.String conf)
public java.net.URL getUrl()
Artifact
public boolean isMetadata()
Artifact
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |