ComponentSelector (Gradle API 2.10)
Date: 2015-12-21

Package: org.gradle.api.artifacts.component

## [Java] Interface ComponentSelector

- Represents some opaque criteria used to select a component instance during dependency resolution. Various sub-interfaces expose specific details about the criteria.

  Since:
    1.10

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `String` | `getDisplayName()` Returns a human-consumable display name for this selector.
    `boolean` | `matchesStrictly(ComponentIdentifier identifier)` Checks if selector matches component identifier.

- - ### Method Detail

    - #### public String getDisplayName()

      Returns a human-consumable display name for this selector.

      Returns:
        Display name
      Since:
        1.10

    - #### public boolean matchesStrictly(ComponentIdentifier identifier)

      Checks if selector matches component identifier.

      Parameters:
        `identifier` - Component identifier
      Returns:
        if this selector matches exactly the given component identifier.
      Since:
        1.10