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

## org.gradle.api.artifacts
Interface IvyObjectBuilder<T>

    public interface IvyObjectBuilder<T>

A `IvyObjectBuilder` builds Ivy domain objects of type `T`. You can influence the construction of the Ivy objects by adding transformers to this builder. A transformer can either be a closure, or a `Transformer` implementation. The transformers are called in the order added.

Method Summary
`void` | `addIvyTransformer(Closure transformer)` Adds a transformation closure to this builder.
`void` | `addIvyTransformer(Transformer<T> transformer)` Adds a transformer to this builder.

Method Detail

### addIvyTransformer

    void addIvyTransformer(Transformer<T> transformer)

  Adds a transformer to this builder.

  Parameters:
    `transformer` - The transformer to add.

### addIvyTransformer

    void addIvyTransformer(Closure transformer)

  Adds a transformation closure to this builder. The closure is passed the object to transform as a parameter. The closure can return an object of type T, which will be used as the transformed value. The object to transform is also set as the delegate of the closure.

  Parameters:
    `transformer` - The transformation closure to add.

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