TransformInvocation

Added in 4.2.0
Deprecated in 7.0.0

interface TransformInvocation


An invocation object used to pass of pertinent information for a transform call.

Summary

Public functions

Context!

Returns the context in which the transform is run.

(Mutable)Collection<TransformInput!>!

Returns the inputs/outputs of the transform.

TransformOutputProvider!

Returns the output provider allowing to create content.

(Mutable)Collection<TransformInput!>!

Returns the referenced-only inputs which are not consumed by this transformation.

(Mutable)Collection<SecondaryInput!>!

Returns the list of secondary file changes since last.

Boolean

Indicates whether the transform execution is incremental.

Public functions

getContext

Added in 4.2.0
Deprecated in 7.0.0
fun getContext(): Context!

Returns the context in which the transform is run.

Returns
Context!

the context in which the transform is run.

getInputs

Added in 4.2.0
Deprecated in 7.0.0
fun getInputs(): (Mutable)Collection<TransformInput!>!

Returns the inputs/outputs of the transform.

Returns
(Mutable)Collection<TransformInput!>!

the inputs/outputs of the transform.

getOutputProvider

Added in 4.2.0
Deprecated in 7.0.0
fun getOutputProvider(): TransformOutputProvider!

Returns the output provider allowing to create content.

Returns
TransformOutputProvider!

he output provider allowing to create content.

getReferencedInputs

Added in 4.2.0
Deprecated in 7.0.0
fun getReferencedInputs(): (Mutable)Collection<TransformInput!>!

Returns the referenced-only inputs which are not consumed by this transformation.

Returns
(Mutable)Collection<TransformInput!>!

the referenced-only inputs.

getSecondaryInputs

Added in 4.2.0
Deprecated in 7.0.0
fun getSecondaryInputs(): (Mutable)Collection<SecondaryInput!>!

Returns the list of secondary file changes since last. Only secondary files that this transform can handle incrementally will be part of this change set.

Returns
(Mutable)Collection<SecondaryInput!>!

the list of changes impacting a SecondaryInput

isIncremental

Added in 4.2.0
Deprecated in 7.0.0
fun isIncremental(): Boolean

Indicates whether the transform execution is incremental.

Returns
Boolean

true for an incremental invocation, false otherwise.