Class DefaultDependencyArtifactDescriptor
java.lang.Object
org.apache.ivy.util.extendable.UnmodifiableExtendableItem
org.apache.ivy.core.module.descriptor.DefaultDependencyArtifactDescriptor
- All Implemented Interfaces:
ConfigurationAware
,DependencyArtifactDescriptor
,ExtendableItem
public class DefaultDependencyArtifactDescriptor
extends UnmodifiableExtendableItem
implements DependencyArtifactDescriptor, ConfigurationAware
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultDependencyArtifactDescriptor
(DependencyDescriptor dd, String name, String type, String ext, URL url, Map<String, String> extraAttributes) -
Method Summary
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 Details
-
Method Details
-
equals
-
hashCode
public int hashCode() -
addConfiguration
Add a configuration for this artifact.- Specified by:
addConfiguration
in interfaceConfigurationAware
- Parameters:
conf
- ditto
-
getDependencyDescriptor
- Specified by:
getDependencyDescriptor
in interfaceDependencyArtifactDescriptor
- Returns:
- the dependency descriptor in which this dependency artifact descriptor is declared.
-
getName
- Specified by:
getName
in interfaceDependencyArtifactDescriptor
- Returns:
- the name of the artifact asked
-
getType
- Specified by:
getType
in interfaceDependencyArtifactDescriptor
- Returns:
- the type of the artifact asked
-
getExt
- Specified by:
getExt
in interfaceDependencyArtifactDescriptor
- Returns:
- the ext of the artifact asked
-
getConfigurations
Description copied from interface:ConfigurationAware
Returns the configurations of the module to which the object is attached- Specified by:
getConfigurations
in interfaceConfigurationAware
- Specified by:
getConfigurations
in interfaceDependencyArtifactDescriptor
- Returns:
- an array of configuration names of the module in which the artifact is asked
-
getUrl
- Specified by:
getUrl
in interfaceDependencyArtifactDescriptor
- Returns:
- the url to look this artifact up at
-
toString
-