public interface EvaluatorProcess
setMemory(int)
and process-type specific methods.
Runtimes can also set options, but should not do so if users have set options by
checking isOptionSet()
.Modifier and Type | Method and Description |
---|---|
List<String> |
getCommandLine() |
EvaluatorType |
getType() |
boolean |
isOptionSet()
Check whether custom options have been set for the process.
|
EvaluatorProcess |
setConfigurationFileName(String configurationFileName)
Set the name of the configuration file for the Launcher.
|
EvaluatorProcess |
setMemory(int megaBytes)
Set memory size of process in megabytes.
|
EvaluatorProcess |
setStandardErr(String standardErr)
Names a file to which stderr will be redirected.
|
EvaluatorProcess |
setStandardOut(String standardOut)
Names a file to which stdout will be redirected.
|
List<String> getCommandLine()
EvaluatorType getType()
EvaluatorProcess setMemory(int megaBytes)
megaBytes
- boolean isOptionSet()
setMemory(int)
and any other custom options
supported by the specific type of evaluator process.EvaluatorProcess setConfigurationFileName(String configurationFileName)
configurationFileName
- EvaluatorProcess setStandardOut(String standardOut)
standardOut
- EvaluatorProcess setStandardErr(String standardErr)
standardErr
- Copyright © 2016 The Apache Software Foundation. All rights reserved.