public interface ClasspathOptionsUtil
ClasspathOptions by providing methods
that create typical classpath options based on the desired use-case.| Modifier and Type | Method and Description |
|---|---|
static ClasspathOptions |
auto()
Define auto
ClasspathOptions where:
1. |
static ClasspathOptions |
boot()
Define boot
ClasspathOptions where:
1. |
static ClasspathOptions |
javac(java.lang.Boolean compilerInClasspath)
Define javac
ClasspathOptions where the Compiler JAR may or may not
be present in the classpath. |
static ClasspathOptions |
manual()
Define a manual
ClasspathOptions where the client manages everything. |
static ClasspathOptions |
repl()
Define repl
ClasspathOptions where:
1. |
static ClasspathOptions manual()
ClasspathOptions where the client manages everything.static ClasspathOptions boot()
ClasspathOptions where:
1. the Scala standard library is present in the classpath;
2. the boot classpath is automatically configured; and,
3. the Scala standard library JAR is fetched from the classpath.static ClasspathOptions auto()
ClasspathOptions where:
1. the Scala standard library is present in the classpath;
2. the Compiler JAR is present in the classpath;
3. the extra JARs present in the Scala instance are added to the classpath.
4. the boot classpath is automatically configured; and,
5. the Scala standard library JAR is fetched from the classpath.static ClasspathOptions javac(java.lang.Boolean compilerInClasspath)
ClasspathOptions where the Compiler JAR may or may not
be present in the classpath. Note that the classpath won't be
automatically configured by the underlying implementation.compilerInClasspath - Whether the Scala compiler is in the classpath.static ClasspathOptions repl()
ClasspathOptions where:
1. the Scala standard library is present in the classpath;
2. the Compiler JAR is present in the classpath;
3. the extra JARs present in the Scala instance are added to the classpath.
4. the boot classpath is automatically configured; and,
5. the Scala standard library JAR is fetched from the classpath.