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<java.lang.String,java.lang.String> 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 to which the object is attached
|
DependencyDescriptor |
getDependencyDescriptor() |
java.lang.String |
getExt() |
java.lang.String |
getName() |
java.lang.String |
getType() |
java.net.URL |
getUrl() |
int |
hashCode() |
java.lang.String |
toString() |
getAttribute, getAttributes, getExtraAttribute, getExtraAttributes, getQualifiedExtraAttributes, setExtraAttribute, setStandardAttribute
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAttribute, getAttributes, getExtraAttribute, getExtraAttributes, getQualifiedExtraAttributes
public DefaultDependencyArtifactDescriptor(DependencyDescriptor dd, java.lang.String name, java.lang.String type, java.lang.String ext, java.net.URL url, java.util.Map<java.lang.String,java.lang.String> extraAttributes)
dd
- DependencyDescriptorname
- dittotype
- dittoext
- dittourl
- dittoextraAttributes
- dittopublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void addConfiguration(java.lang.String conf)
addConfiguration
in interface ConfigurationAware
conf
- dittopublic DependencyDescriptor getDependencyDescriptor()
getDependencyDescriptor
in interface DependencyArtifactDescriptor
public java.lang.String getName()
getName
in interface DependencyArtifactDescriptor
public java.lang.String getType()
getType
in interface DependencyArtifactDescriptor
public java.lang.String getExt()
getExt
in interface DependencyArtifactDescriptor
public java.lang.String[] getConfigurations()
ConfigurationAware
getConfigurations
in interface ConfigurationAware
getConfigurations
in interface DependencyArtifactDescriptor
public java.net.URL getUrl()
getUrl
in interface DependencyArtifactDescriptor
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ©2007-2022 The Apache Software Foundation, Licensed under Apache License, Version 2.0.