|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ivy.util.extendable.UnmodifiableExtendableItem
org.apache.ivy.core.module.descriptor.DefaultDependencyArtifactDescriptor
public class DefaultDependencyArtifactDescriptor
| Constructor Summary | |
|---|---|
DefaultDependencyArtifactDescriptor(DependencyDescriptor dd,
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)
Add a configuration for this artifact. |
boolean |
equals(java.lang.Object obj)
|
java.lang.String[] |
getConfigurations()
Returns the configurations of the module in which the artifact is asked |
DependencyDescriptor |
getDependencyDescriptor()
Returns the dependency descriptor in which this dependency artifact descriptor is declared. |
java.lang.String |
getExt()
Returns the ext of the artifact asked |
java.lang.String |
getName()
Returns the name of the artifact asked |
java.lang.String |
getType()
Returns the type of the artifact asked |
java.net.URL |
getUrl()
Returns the url to look this artifact at |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class org.apache.ivy.util.extendable.UnmodifiableExtendableItem |
|---|
getAttribute, getAttributes, getExtraAttribute, getExtraAttributes, getQualifiedExtraAttributes, setExtraAttribute, setStandardAttribute |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.ivy.util.extendable.ExtendableItem |
|---|
getAttribute, getAttributes, getExtraAttribute, getExtraAttributes, getQualifiedExtraAttributes |
| Constructor Detail |
|---|
public DefaultDependencyArtifactDescriptor(DependencyDescriptor dd,
java.lang.String name,
java.lang.String type,
java.lang.String ext,
java.net.URL url,
java.util.Map extraAttributes)
dd - name - type - url - | Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void addConfiguration(java.lang.String conf)
addConfiguration in interface ConfigurationAwareconf - public DependencyDescriptor getDependencyDescriptor()
DependencyArtifactDescriptor
getDependencyDescriptor in interface DependencyArtifactDescriptorpublic java.lang.String getName()
DependencyArtifactDescriptor
getName in interface DependencyArtifactDescriptorpublic java.lang.String getType()
DependencyArtifactDescriptor
getType in interface DependencyArtifactDescriptorpublic java.lang.String getExt()
DependencyArtifactDescriptor
getExt in interface DependencyArtifactDescriptorpublic java.lang.String[] getConfigurations()
DependencyArtifactDescriptor
getConfigurations in interface ConfigurationAwaregetConfigurations in interface DependencyArtifactDescriptorpublic java.net.URL getUrl()
DependencyArtifactDescriptor
getUrl in interface DependencyArtifactDescriptorpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||