public class ScalaCompileOptions extends BaseScalaCompileOptions
| Constructor and Description |
|---|
ScalaCompileOptions() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
excludeFromAntProperties(String fieldName) |
protected String |
getAntPropertyName(String fieldName) |
protected Object |
getAntPropertyValue(String fieldName,
Object value) |
String |
getDaemonServer()
Server (host:port) on which the compile daemon is running.
|
boolean |
isFork()
Whether to run the Scala compiler in a separate process.
|
boolean |
isUseAnt()
Tells whether to use Ant for compilation.
|
boolean |
isUseCompileDaemon()
Whether to use the fsc compile daemon.
|
void |
setDaemonServer(String daemonServer) |
void |
setFork(boolean fork) |
void |
setUseAnt(boolean useAnt) |
void |
setUseCompileDaemon(boolean useCompileDaemon) |
getAdditionalParameters, getDebugLevel, getEncoding, getForce, getForkOptions, getIncrementalOptions, getLoggingLevel, getLoggingPhases, isDeprecation, isFailOnError, isListFiles, isOptimize, isUnchecked, setAdditionalParameters, setDebugLevel, setDeprecation, setEncoding, setFailOnError, setForce, setForkOptions, setIncrementalOptions, setListFiles, setLoggingLevel, setLoggingPhases, setOptimize, setUncheckeddefine, optionMappublic boolean isUseAnt()
true, the standard Ant scalac (or fsc) task will be used for
Scala and Java joint compilation. If false, the Zinc incremental compiler will be used
instead. The latter can be significantly faster, especially if there are few source code changes
between compiler runs. Defaults to true.public void setUseAnt(boolean useAnt)
public boolean isFork()
false
for the Ant based compiler (useAnt = true), and to true for the Zinc
based compiler (useAnt = false).public void setFork(boolean fork)
public boolean isUseCompileDaemon()
public void setUseCompileDaemon(boolean useCompileDaemon)
public String getDaemonServer()
public void setDaemonServer(String daemonServer)
protected boolean excludeFromAntProperties(String fieldName)
excludeFromAntProperties in class AbstractOptionsprotected String getAntPropertyName(String fieldName)
getAntPropertyName in class AbstractOptionsprotected Object getAntPropertyValue(String fieldName, Object value)
getAntPropertyValue in class AbstractOptions