package saker.java.compiler.api.compile
Represents a task identifier for a Java compilation worker task.
The Java compiler worker task is the one that actually compiles the Java source files. The task has an output that is an instance of JavaCompilerWorkerTaskOutput. If you retrieve the result of a task that bears a task identifier that is the instance of this interface, then you can cast the result to JavaCompilerWorkerTaskOutput.
clients shouldn't implement this interface.
public static JavaCompilationWorkerTaskIdentifier | Creates a new instance with the given pass identifier. |
public String | Gets the pass identifier of the compiler task. |
From: TaskIdentifier |
public static JavaCompilationWorkerTaskIdentifier create(String passidentifier) throws NullPointerException
Creates a new instance with the given pass identifier.
passidentifierThe pass identifier.
The created task identifier.
NullPointerExceptionIf the argument is
null
.Gets the pass identifier of the compiler task.
The identifier is usually the one specified by the user, or automatically generated based on the input configuration.
The identifier.