The frontend task is the one that is instantiated for the build scripts and parses the input arguments. It spawns the worker task that performs the actual compilation.
The task provides access to the worker task identifier, the Java SDK that is used by the worker task, and the output locations as structured task results.
Users of this interface can access some aspects of the compilation configuration without depending on the worker task and the compilation result. (E.g. the Java SDK that is used.)
Clients shouldn't implement this interface.
public StructuredTaskResult | Gets the structured task result for the class output directory of the compilation. |
public StructuredTaskResult | Gets the structured task result for the header output directory of the compilation. |
public StructuredTaskResult | Gets the structured task result for SDK description that is used to perform the compilation. |
public StructuredTaskResult | Gets the structured task result for the compile module name of the compilation. |
public StructuredTaskResult | Gets the structured task result for the resource output directory of the compilation. |
public StructuredTaskResult | getSDKs() Gets the SDKs that were used during the Java compilation. |
public StructuredTaskResult | Gets the structured task result for the soruce output directory of the compilation. |
public JavaCompilationWorkerTaskIdentifier | Gets the worker task identifier that performs the compilation. |
The result will be a SakerPath.
Retrieving the task result will wait for the compilation to be done, but doesn't install a dependency on the results of the compilation. (I.e. compiled class file contents and others.)
The result will be a SakerPath.
Retrieving the task result will wait for the compilation to be done, but doesn't install a dependency on the results of the compilation. (I.e. compiled class file contents and others.)
The result will be a SDKDescription.
This is the SDKDescription that is associated with the Java
name.
Note: This function was modified in an ABI breaking way in version 0.8.4. It directly returned SDKDescription in previous releases.
The result will be a String or null
.
Retrieving the task result will wait for the compilation to be done, but doesn't install a dependency on the results of the compilation (only the module name). (I.e. compiled class file contents and others.)
null
if no module was compiled.The result will be a SakerPath.
Retrieving the task result will wait for the compilation to be done, but doesn't install a dependency on the results of the compilation. (I.e. compiled class file contents and others.)
The result is an instance of NavigableMap<String, SDKDescription>.
The result will be a SakerPath.
Retrieving the task result will wait for the compilation to be done, but doesn't install a dependency on the results of the compilation. (I.e. compiled class file contents and others.)