ComponentMetadata (Gradle API 2.11)
Date: 2016-02-08

Package: org.gradle.api.artifacts

## [Java] Interface ComponentMetadata

- Provides a read-only view of a resolved component's metadata, which typically originates from a component descriptor (Ivy file, Maven POM).

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `ModuleVersionIdentifier` | `getId()` Returns the identifier of the component.
    `String` | `getStatus()` Returns the status of the component.
    `List<String>` | `getStatusScheme()` Returns the status scheme of the component.
    `boolean` | `isChanging()` Tells whether the component is changing or immutable.

- - ### Method Detail

    - #### public ModuleVersionIdentifier getId()

      Returns the identifier of the component.

      Returns:
        the identifier of the component.

    - #### public String getStatus()

      Returns the status of the component. Must match one of the values in getStatusScheme().

      Returns:
        the status of the component

    - #### public List<String> getStatusScheme()

      Returns the status scheme of the component. Values are ordered from least to most mature status. Defaults to `["integration", "milestone", "release"]`.

      Returns:
        the status scheme of the component

    - #### public boolean isChanging()

      Tells whether the component is changing or immutable.

      Returns:
        whether the component is changing or immutable.