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 UnmodifiableExtendableItem
getAttribute, getAttributes, getExtraAttribute, getExtraAttributes, getQualifiedExtraAttributes, setExtraAttribute, setStandardAttributeMethods inherited from interface ExtendableItem
getAttribute, getAttributes, getExtraAttribute, getExtraAttributes, getQualifiedExtraAttributes
-
Constructor Details
-
DefaultDependencyArtifactDescriptor
-
-
Method Details
-
equals
-
hashCode
-
addConfiguration
Add a configuration for this artifact.- Specified by:
addConfigurationin interfaceConfigurationAware- Parameters:
conf- ditto
-
getDependencyDescriptor
- Specified by:
getDependencyDescriptorin interfaceDependencyArtifactDescriptor- Returns:
- the dependency descriptor in which this dependency artifact descriptor is declared.
-
getName
- Specified by:
getNamein interfaceDependencyArtifactDescriptor- Returns:
- the name of the artifact asked
-
getType
- Specified by:
getTypein interfaceDependencyArtifactDescriptor- Returns:
- the type of the artifact asked
-
getExt
- Specified by:
getExtin interfaceDependencyArtifactDescriptor- Returns:
- the ext of the artifact asked
-
getConfigurations
Description copied from interface:ConfigurationAwareReturns the configurations of the module to which the object is attached- Specified by:
getConfigurationsin interfaceConfigurationAware- Specified by:
getConfigurationsin interfaceDependencyArtifactDescriptor- Returns:
- an array of configuration names of the module in which the artifact is asked
-
getUrl
- Specified by:
getUrlin interfaceDependencyArtifactDescriptor- Returns:
- the url to look this artifact up at
-
toString
-