public class DefaultDependencyArtifactDescriptor extends UnmodifiableExtendableItem implements DependencyArtifactDescriptor, ConfigurationAware
| Constructor and Description |
|---|
DefaultDependencyArtifactDescriptor(DependencyDescriptor dd,
java.lang.String name,
java.lang.String type,
java.lang.String ext,
java.net.URL url,
java.util.Map extraAttributes) |
| Modifier and Type | Method and Description |
|---|---|
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() |
getAttribute, getAttributes, getExtraAttribute, getExtraAttributes, getQualifiedExtraAttributes, setExtraAttribute, setStandardAttributeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAttribute, getAttributes, getExtraAttribute, getExtraAttributes, getQualifiedExtraAttributespublic 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 - 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()
DependencyArtifactDescriptorgetDependencyDescriptor in interface DependencyArtifactDescriptorpublic java.lang.String getName()
DependencyArtifactDescriptorgetName in interface DependencyArtifactDescriptorpublic java.lang.String getType()
DependencyArtifactDescriptorgetType in interface DependencyArtifactDescriptorpublic java.lang.String getExt()
DependencyArtifactDescriptorgetExt in interface DependencyArtifactDescriptorpublic java.lang.String[] getConfigurations()
DependencyArtifactDescriptorgetConfigurations in interface ConfigurationAwaregetConfigurations in interface DependencyArtifactDescriptorpublic java.net.URL getUrl()
DependencyArtifactDescriptorgetUrl in interface DependencyArtifactDescriptorpublic java.lang.String toString()
toString in class java.lang.Object