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() |
boolean |
bootLibrary() |
boolean |
compiler() |
static ClasspathOptions |
create(boolean _bootLibrary,
boolean _compiler,
boolean _extra,
boolean _autoBoot,
boolean _filterLibrary) |
boolean |
equals(java.lang.Object obj) |
boolean |
extra() |
boolean |
filterLibrary() |
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.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object