public interface JavaModulePathBuilder
Builder interface for JavaModulePath.
Clients shouldn't implement this interface.
Create a new instance using newBuilder().
public void | addCompileModulePath( Adds a compilation modulepath to the builder. |
public void | addFileModulePath( Adds a file modulepath to the builder. |
public void | addSDKModulePath( Adds an SDK modulepath to the builder. |
public JavaModulePath | build() Builds the modulepath. |
public static JavaModulePathBuilder | Creates a new builder. |
public abstract void addCompileModulePath(JavaCompilationWorkerTaskIdentifier compilationworkertaskid) throws NullPointerException
Adds a compilation modulepath to the builder.
compilationworkertaskidThe task identifier of the compilation worker build task.
NullPointerExceptionIf the argument is
null
.Adds a file modulepath to the builder.
filelocationThe file location of the modulepath.
NullPointerExceptionIf the argument is
null
.public abstract void addSDKModulePath(SDKPathReference sdkpathreference) throws NullPointerException
Adds an SDK modulepath to the builder.
sdkpathreferenceThe SDK path reference.
NullPointerExceptionIf the argument is
null
.Builds the modulepath.
The builder can be reused after this call.
The created modulepath.
Creates a new builder.
The builder.