saker.java.compiler Documentation TaskDoc JavaDoc Packages
public interface JavaCompilerTaskFrontendOutput
Interface for accessing the results of the frontend build task of the Java compiler task.

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.

Methods
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
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.
Gets the structured task result for the class output directory of 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 class output directory task result.
Gets the structured task result for the header output directory of 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 header output directory task result.
Gets the structured task result for SDK description that is used to perform the compilation.

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 SDK description task result.
Gets the structured task result for the compile module name of the compilation.

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.)

The module name or null if no module was compiled.
Gets the structured task result for the resource output directory of 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 resource directory task result.
public abstract StructuredTaskResult getSDKs()
Gets the SDKs that were used during the Java compilation.

The result is an instance of NavigableMap<String, SDKDescription>.

The structured task result of the used SDKs.
saker.java.compiler 0.8.5
Gets the structured task result for the soruce output directory of 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 soruce output directory task result.
Gets the worker task identifier that performs the compilation.
The task identifier.