Build targets are the result of parsing a build script for the build system.
Build targets may optionally have parameters, which can be used to configure invocations of it. They are generally used when the user specifies a script to include another build targets, and pass some parameters to it.
Build targets create instances of BuildTargetTask as their task implementations.
public BuildTargetTask | createTask( Creates a task instance. |
public NavigableSet< | Gets the possible parameter names for this build target. |
Every task instance is used for only one invocation.
This method is mostly informational, as the build system currently only uses it to report a warning if the build target was invoked with a parameter that the build target doesn't publish.
Implementations can return null
to signal that the parameter names are not available for this build
target. Returning null
will disable parameter related warnings for this build target.
null
if this query is unsupported.