public interface JavaClassPathBuilder
Builder interface for JavaClassPath.
Clients shouldn't implement this interface.
Create a new instance using newBuilder().
public void | addClassPath( Adds a class path reference to the builder. |
public void | addCompileClassPath( Adds a compilation classpath to the builder. |
public void | addFileClassPath( Adds a file classpath to the builder. |
public void | addSDKClassPath( Adds an SDK classpath to the builder. |
public JavaClassPath | build() Builds the classpath. |
public static JavaClassPathBuilder | Creates a new builder. |
Adds a class path reference to the builder.
classpathrefThe reference.
NullPointerExceptionIf the argument is
null
.public abstract void addCompileClassPath(JavaCompilationWorkerTaskIdentifier compilationworkertaskid) throws NullPointerException
Adds a compilation classpath to the builder.
compilationworkertaskidThe task identifier of the compilation worker build task.
NullPointerExceptionIf the argument is
null
.Adds a file classpath to the builder.
filelocationThe file location of the classpath.
NullPointerExceptionIf the argument is
null
.Adds an SDK classpath to the builder.
sdkpathreferenceThe SDK path reference.
NullPointerExceptionIf the argument is
null
.Builds the classpath.
The builder can be reused after this call.
The created classpath.
Creates a new builder.
The builder.