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 Details

  • 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

      public Optional<String> getHomeDir()
    • getProjectIni

      public Optional<String> getProjectIni()
    • isShowStackTrace

      public boolean isShowStackTrace()
    • setShowStackTrace

      public void setShowStackTrace(boolean showStackTrace)
    • isDisableLoadingCorePlugins

      @Deprecated public boolean isDisableLoadingCorePlugins()
      Deprecated.
    • setDisableLoadingCorePlugins

      @Deprecated public void setDisableLoadingCorePlugins(boolean disableLoadingCorePlugins)
      Deprecated.
    • getPluginPaths

      @Deprecated public List<Path> getPluginPaths()
      Deprecated.
    • setPluginPaths

      @Deprecated public void setPluginPaths(List<Path> pluginPaths)
      Deprecated.
    • setHomeDir

      @Deprecated public void setHomeDir(String homeDir)
      Deprecated.
    • setProjectIni

      public void setProjectIni(String projectIni)
    • setLogLevel

      public void setLogLevel(String logLevel)
    • getRandomSeed

      public Long getRandomSeed()
    • setRandomSeed

      public void setRandomSeed(Long randomSeed)
    • getPipelineThreads

      public Integer getPipelineThreads()
    • setPipelineThreads

      public void setPipelineThreads(Integer pipelineThreads)
    • isExperimentalExecution

      public boolean isExperimentalExecution()
    • setExperimentalExecution

      public void setExperimentalExecution(boolean experimentalExecution)
    • isShowProjectErrors

      public boolean isShowProjectErrors()
    • setShowProjectErrors

      public void setShowProjectErrors(boolean showProjectErrors)