Serializable
ScalaCompileOptions
@Incubating public class BaseScalaCompileOptions extends AbstractOptions
Constructor | Description |
---|---|
BaseScalaCompileOptions() |
Modifier and Type | Method | Description |
---|---|---|
List<String> |
getAdditionalParameters() |
Additional parameters passed to the compiler.
|
String |
getDebugLevel() |
Generate debugging information.
|
String |
getEncoding() |
Encoding of source 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 |
isForce() |
Whether to force the compilation of all files.
|
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(boolean 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
@Input public boolean isFailOnError()
public void setFailOnError(boolean failOnError)
@Console public boolean isDeprecation()
public void setDeprecation(boolean deprecation)
@Console public boolean isUnchecked()
public void setUnchecked(boolean unchecked)
@Nullable @Optional @Input public String getDebugLevel()
@Input public boolean isOptimize()
public void setOptimize(boolean optimize)
@Input public boolean isForce()
public void setForce(boolean force)
@Nullable @Optional @Input public List<String> getAdditionalParameters()
public void setAdditionalParameters(@Nullable List<String> additionalParameters)
@Console public boolean isListFiles()
public void setListFiles(boolean listFiles)
@Console public String getLoggingLevel()
public void setLoggingLevel(String loggingLevel)
@Console public List<String> getLoggingPhases()
public ScalaForkOptions getForkOptions()
public void setForkOptions(ScalaForkOptions forkOptions)
public IncrementalCompileOptions getIncrementalOptions()
public void setIncrementalOptions(IncrementalCompileOptions incrementalOptions)