public final class ClasspathOptions
extends java.lang.Object
implements java.io.Serializable
ScalaInstance used for
compilation. This class tells how to instrument the classpaths given certain Scala
compiler-related parameters. Usually, values are all false for Java compilation.| Modifier | Constructor and Description |
|---|---|
protected |
ClasspathOptions(boolean _bootLibrary,
boolean _compiler,
boolean _extra,
boolean _autoBoot,
boolean _filterLibrary) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
autoBoot()
If true, automatically configures the boot classpath.
|
boolean |
bootLibrary()
If true, includes the Scala library on the boot classpath.
|
boolean |
compiler()
If true, includes the Scala compiler on the standard classpath.
|
static ClasspathOptions |
create(boolean _bootLibrary,
boolean _compiler,
boolean _extra,
boolean _autoBoot,
boolean _filterLibrary) |
boolean |
equals(java.lang.Object obj) |
boolean |
extra()
If true, includes extra jars from the Scala instance on the standard classpath.
|
boolean |
filterLibrary()
If true, the Scala library jar is filtered from the standard classpath.
|
int |
hashCode() |
static ClasspathOptions |
of(boolean _bootLibrary,
boolean _compiler,
boolean _extra,
boolean _autoBoot,
boolean _filterLibrary) |
java.lang.String |
toString() |
ClasspathOptions |
withAutoBoot(boolean autoBoot) |
ClasspathOptions |
withBootLibrary(boolean bootLibrary) |
ClasspathOptions |
withCompiler(boolean compiler) |
ClasspathOptions |
withExtra(boolean extra) |
ClasspathOptions |
withFilterLibrary(boolean filterLibrary) |
protected ClasspathOptions(boolean _bootLibrary,
boolean _compiler,
boolean _extra,
boolean _autoBoot,
boolean _filterLibrary)
public static ClasspathOptions create(boolean _bootLibrary, boolean _compiler, boolean _extra, boolean _autoBoot, boolean _filterLibrary)
public static ClasspathOptions of(boolean _bootLibrary, boolean _compiler, boolean _extra, boolean _autoBoot, boolean _filterLibrary)
public boolean bootLibrary()
public boolean compiler()
public boolean extra()
public boolean autoBoot()
public boolean filterLibrary()
public ClasspathOptions withBootLibrary(boolean bootLibrary)
public ClasspathOptions withCompiler(boolean compiler)
public ClasspathOptions withExtra(boolean extra)
public ClasspathOptions withAutoBoot(boolean autoBoot)
public ClasspathOptions withFilterLibrary(boolean filterLibrary)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object