Class PipelineCommand.Eval

java.lang.Object
nz.org.riskscape.engine.cli.ApplicationCommand
nz.org.riskscape.engine.cli.PipelineCommand.Eval
All Implemented Interfaces:
AutoCloseable, nz.org.riskscape.engine.cli.ChildCommand, nz.org.riskscape.engine.cli.EngineCommand, nz.org.riskscape.engine.cli.PipelineRenderer, nz.org.riskscape.engine.cli.TerminalCommand
Enclosing class:
PipelineCommand

public static class PipelineCommand.Eval extends nz.org.riskscape.engine.cli.ApplicationCommand
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
     
     
     
     
     
     
    boolean
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    doCommand(nz.org.riskscape.engine.Project useProject)
     
    protected LocalDateTime
     
    nz.org.riskscape.engine.resource.Resource
    getResourceFrom(String pipelineArg)
     
    boolean
    isThisDefinitelyAFile(String pipelineArg, File file)
     
    protected Object
    run(nz.org.riskscape.engine.Project useProject, nz.org.riskscape.pipeline.ast.PipelineDeclaration ast)
     

    Methods inherited from class nz.org.riskscape.engine.cli.ApplicationCommand

    asPropertyWithProblems, bindOutput, combineKeyValuesForDisplay, displayWithProblems, formatFailedObjectErrorsForTable, formatProblemsForTableText, getDetailedHelp, getEngine, getMessages, getObject, getProject, getTerminal, paramString, parseJsonArguments, parseJsonArguments, resourceFrom, run, setEngine, setMessages, setProject, setTerminal

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface nz.org.riskscape.engine.cli.EngineCommand

    close

    Methods inherited from interface nz.org.riskscape.engine.cli.PipelineRenderer

    boundPipelineParameterToString, graph, printPipeline, printPipeline, printType

    Methods inherited from interface nz.org.riskscape.engine.cli.TerminalCommand

    print, printerr, stderr, stdin, stdout
  • Field Details

    • pipelineFile

      public String pipelineFile
    • printPipeline

      public Boolean printPipeline
    • output

      public String output
    • replace

      public boolean replace
    • checksum

      public boolean checksum
    • progressIndicator

      public String progressIndicator
    • format

      public String format
  • Constructor Details

    • Eval

      public Eval()
  • Method Details

    • doCommand

      public Object doCommand(nz.org.riskscape.engine.Project useProject)
      Specified by:
      doCommand in class nz.org.riskscape.engine.cli.ApplicationCommand
    • isThisDefinitelyAFile

      public boolean isThisDefinitelyAFile(String pipelineArg, File file)
    • getResourceFrom

      public nz.org.riskscape.engine.resource.Resource getResourceFrom(String pipelineArg)
    • run

      protected Object run(nz.org.riskscape.engine.Project useProject, nz.org.riskscape.pipeline.ast.PipelineDeclaration ast)
    • getCurrentTime

      protected LocalDateTime getCurrentTime()