@Incubating public class BaseScalaCompileOptions extends AbstractOptions
Constructor and Description |
---|
BaseScalaCompileOptions() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAdditionalParameters()
Additional parameters passed to the compiler.
|
String |
getDebugLevel()
Generate debugging information.
|
String |
getEncoding()
Encoding of source files.
|
String |
getForce()
Whether to force the compilation of all files.
|
ScalaForkOptions |
getForkOptions()
Options for running the Scala compiler in a separate process.
|
IncrementalCompileOptions |
getIncrementalOptions() |
String |
getLoggingLevel()
Specifies the amount of logging.
|
List<String> |
getLoggingPhases()
Phases of the compiler to log.
|
boolean |
isDeprecation()
Generate deprecation information.
|
boolean |
isFailOnError()
Fail the build on compilation errors.
|
boolean |
isListFiles()
List files to be compiled.
|
boolean |
isOptimize()
Run optimizations.
|
boolean |
isUnchecked()
Generate unchecked information.
|
void |
setAdditionalParameters(List<String> additionalParameters) |
void |
setDebugLevel(String debugLevel) |
void |
setDeprecation(boolean deprecation) |
void |
setEncoding(String encoding) |
void |
setFailOnError(boolean failOnError) |
void |
setForce(String force) |
void |
setForkOptions(ScalaForkOptions forkOptions) |
void |
setIncrementalOptions(IncrementalCompileOptions incrementalOptions) |
void |
setListFiles(boolean listFiles) |
void |
setLoggingLevel(String loggingLevel) |
void |
setLoggingPhases(List<String> loggingPhases) |
void |
setOptimize(boolean optimize) |
void |
setUnchecked(boolean unchecked) |
define, excludeFromAntProperties, getAntPropertyName, getAntPropertyValue, optionMap
public boolean isFailOnError()
public void setFailOnError(boolean failOnError)
public boolean isDeprecation()
public void setDeprecation(boolean deprecation)
public boolean isUnchecked()
public void setUnchecked(boolean unchecked)
@Input @Optional public String getDebugLevel()
public void setDebugLevel(String debugLevel)
@Input public boolean isOptimize()
public void setOptimize(boolean optimize)
public void setEncoding(String encoding)
public String getForce()
public void setForce(String force)
public List<String> getAdditionalParameters()
public boolean isListFiles()
public void setListFiles(boolean listFiles)
public String getLoggingLevel()
public void setLoggingLevel(String loggingLevel)
public List<String> getLoggingPhases()
public ScalaForkOptions getForkOptions()
fork
is set to true
.public void setForkOptions(ScalaForkOptions forkOptions)
public IncrementalCompileOptions getIncrementalOptions()
public void setIncrementalOptions(IncrementalCompileOptions incrementalOptions)