Package nz.org.riskscape.engine.cli
Class CliRoot
java.lang.Object
nz.org.riskscape.engine.cli.StubCommand
nz.org.riskscape.engine.cli.CliRoot
public class CliRoot
extends nz.org.riskscape.engine.cli.StubCommand
The root of the riskscape cli command hierarchy.
TODO move this (or an interface from it) in to engine-api
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionch.qos.logback.classic.Level
Deprecated.boolean
Deprecated.boolean
boolean
boolean
boolean
void
setDisableLoadingCorePlugins
(boolean disableLoadingCorePlugins) Deprecated.void
setExperimentalExecution
(boolean experimentalExecution) void
setHomeDir
(String homeDir) Deprecated.void
setLogLevel
(String logLevel) void
setPipelineThreads
(Integer pipelineThreads) void
setPluginPaths
(List<Path> pluginPaths) Deprecated.void
setProjectIni
(String projectIni) void
setRandomSeed
(Long randomSeed) void
setShowProjectErrors
(boolean showProjectErrors) void
setShowStackTrace
(boolean showStackTrace)
-
Field Details
-
RISKSCAPE_PROJECT_ENV
- See Also:
-
RISKSCAPE_HOME_ENV
- See Also:
-
-
Constructor Details
-
CliRoot
public CliRoot()
-
-
Method Details
-
getLogLevel
public ch.qos.logback.classic.Level getLogLevel() -
isHomeDirSpecified
public boolean isHomeDirSpecified()- Returns:
- true if a RISKSCAPE_HOME directory was specified by the user, either as a CLI option or as an environment variable.
-
getHomeDir
-
getProjectIni
-
isShowStackTrace
public boolean isShowStackTrace() -
setShowStackTrace
public void setShowStackTrace(boolean showStackTrace) -
isDisableLoadingCorePlugins
Deprecated. -
setDisableLoadingCorePlugins
Deprecated. -
getPluginPaths
Deprecated. -
setPluginPaths
Deprecated. -
setHomeDir
Deprecated. -
setProjectIni
-
setLogLevel
-
getRandomSeed
-
setRandomSeed
-
getPipelineThreads
-
setPipelineThreads
-
isExperimentalExecution
public boolean isExperimentalExecution() -
setExperimentalExecution
public void setExperimentalExecution(boolean experimentalExecution) -
isShowProjectErrors
public boolean isShowProjectErrors() -
setShowProjectErrors
public void setShowProjectErrors(boolean showProjectErrors)
-