public interface Context
This gives access to a limited amount of context when the transform is run.
Modifier and Type | Method and Description |
---|---|
LoggingManager |
getLogging()
Returns the LoggingManager which can be used to control the logging level and standard
output/error capture for this task.
|
java.lang.String |
getPath()
Returns the path of the task, which is a fully qualified name for the task.
|
java.io.File |
getTemporaryDir()
Returns a directory which this task can use to write temporary files to.
|
java.lang.String |
getVariantName()
Returns the name of the variant.
|
WorkerExecutor |
getWorkerExecutor()
Returns the
WorkerExecutor to enlist runnable pieces of work. |
LoggingManager getLogging()
java.io.File getTemporaryDir()
java.lang.String getPath()
Project
plus the name of the task,
separated by :
.@NonNull java.lang.String getVariantName()
@NonNull WorkerExecutor getWorkerExecutor()
WorkerExecutor
to enlist runnable pieces of work.