Interface ChartContext


public interface ChartContext
  • Field Details

  • Method Details

    • abort

      void abort(Throwable cause)
    • pause

      void pause()
    • shouldDebug

      boolean shouldDebug(UUID step)
    • debug

      void debug()
      This will block until step or resume is called, if debugging is enabled, and the step has a breakpoint (or it's the next step after a "step" command).
    • getInstanceId

      UUID getInstanceId()
    • getChartPath

      String getChartPath()
    • getChartScope

      PyChartScope getChartScope()
    • getScopeLocator

      ScopeLocator getScopeLocator()
    • getElements

      List<ChartElement> getElements()
    • getResourceId

      ResourceId getResourceId()
    • getChartDefinition

      ChartDefinition getChartDefinition()
    • getElement

      ChartElement getElement(UUID elementId)
    • getExecutionQueue

      ExecutionQueue getExecutionQueue()
    • getGatewayContext

      GatewayContext getGatewayContext()
    • getScriptManager

      ScriptManager getScriptManager()
    • isRunning

      boolean isRunning()
      Indicates that the chart is in a running state and the elements should transition as necessary. *
    • getLogDetails

      MDCUtils.MDCDetails getLogDetails()
    • getRedundantRole

      String getRedundantRole()
      Represents the redundant role of the gateway that initialized the chart instance. Used to manage charts that need to be transferred between the redundant master and the backup
      Returns:
      the redundant role of the gateway that initialized the chart instance. Defaults to "" if redundancy is not enabled on the system.