Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## fr.jayasoft.ivy
Class DefaultDependencyArtifactDescriptor

    java.lang.Object
      fr.jayasoft.ivy.DefaultDependencyArtifactDescriptor

All Implemented Interfaces:
  DependencyArtifactDescriptor

public class DefaultDependencyArtifactDescriptor
extends java.lang.Object
implements DependencyArtifactDescriptor

TODO write javadoc

Constructor Summary
`DefaultDependencyArtifactDescriptor(DefaultDependencyDescriptor dd, ArtifactId aid, boolean includes, PatternMatcher matcher)`
`DefaultDependencyArtifactDescriptor(DefaultDependencyDescriptor dd, java.lang.String name, java.lang.String type, java.lang.String ext, boolean includes, PatternMatcher matcher)`

Method Summary
`void` | `addConfiguration(java.lang.String conf)` Add a configuration for this artifact (includes or excludes depending on this type dependency artifact descriptor).
`boolean` | `equals(java.lang.Object obj)`
`java.lang.String[]` | `getConfigurations()` Returns the configurations of the module in which the artifact is asked
`DependencyDescriptor` | `getDependency()` Returns the dependency descriptor in which this artifact is asked
`java.lang.String` | `getExt()` Returns the ext of the artifact asked
`ArtifactId` | `getId()` Returns the id of the described artifact, without revision information
`PatternMatcher` | `getMatcher()` Returns the matcher to use to know if an artifact match the current descriptor
`java.lang.String` | `getName()` Returns the name of the artifact asked
`java.lang.String` | `getType()` Returns the type of the artifact asked
`int` | `hashCode()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DefaultDependencyArtifactDescriptor

    public DefaultDependencyArtifactDescriptor(DefaultDependencyDescriptor dd,
                                               java.lang.String name,
                                               java.lang.String type,
                                               java.lang.String ext,
                                               boolean includes,
                                               PatternMatcher matcher)

Parameters:
  `dd` -
  `name` -
  `type` -

### DefaultDependencyArtifactDescriptor

    public DefaultDependencyArtifactDescriptor(DefaultDependencyDescriptor dd,
                                               ArtifactId aid,
                                               boolean includes,
                                               PatternMatcher matcher)

Method Detail

### equals

    public boolean equals(java.lang.Object obj)

### hashCode

    public int hashCode()

### addConfiguration

    public void addConfiguration(java.lang.String conf)

  Add a configuration for this artifact (includes or excludes depending on this type dependency artifact descriptor). This method also updates the corresponding dependency descriptor

  Parameters:
    `conf` -

### getDependency

    public DependencyDescriptor getDependency()

  Description copied from interface: `DependencyArtifactDescriptor`
  Returns the dependency descriptor in which this artifact is asked

  Specified by:
    `getDependency` in interface `DependencyArtifactDescriptor`
  Returns:

### getId

    public ArtifactId getId()

  Description copied from interface: `DependencyArtifactDescriptor`
  Returns the id of the described artifact, without revision information

  Specified by:
    `getId` in interface `DependencyArtifactDescriptor`
  Returns:

### getName

    public java.lang.String getName()

  Description copied from interface: `DependencyArtifactDescriptor`
  Returns the name of the artifact asked

  Specified by:
    `getName` in interface `DependencyArtifactDescriptor`
  Returns:

### getType

    public java.lang.String getType()

  Description copied from interface: `DependencyArtifactDescriptor`
  Returns the type of the artifact asked

  Specified by:
    `getType` in interface `DependencyArtifactDescriptor`
  Returns:

### getExt

    public java.lang.String getExt()

  Description copied from interface: `DependencyArtifactDescriptor`
  Returns the ext of the artifact asked

  Specified by:
    `getExt` in interface `DependencyArtifactDescriptor`
  Returns:

### getConfigurations

    public java.lang.String[] getConfigurations()

  Description copied from interface: `DependencyArtifactDescriptor`
  Returns the configurations of the module in which the artifact is asked

  Specified by:
    `getConfigurations` in interface `DependencyArtifactDescriptor`
  Returns:
    an array of configuration names in which the artifact is asked

### getMatcher

    public PatternMatcher getMatcher()

  Description copied from interface: `DependencyArtifactDescriptor`
  Returns the matcher to use to know if an artifact match the current descriptor

  Specified by:
    `getMatcher` in interface `DependencyArtifactDescriptor`
  Returns:

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD