Interface WorkflowCommandContext<TContract,TInput>


@JsType(isNative=true, name="ng.WorkflowCommandContext", namespace="<global>") public interface WorkflowCommandContext<TContract,TInput>
Public AngularTS WorkflowCommandContext contract exposed through the global ng namespace for Closure-annotated applications.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    TypeScript callback contract for this method.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Public WorkflowCommandContext.cleanup member exposed by the AngularTS namespace contract.
    Public WorkflowCommandContext.command member exposed by the AngularTS namespace contract.
    Public WorkflowCommandContext.data member exposed by the AngularTS namespace contract.
    Public WorkflowCommandContext.input member exposed by the AngularTS namespace contract.
    elemental2.dom.AbortSignal
    Public WorkflowCommandContext.signal member exposed by the AngularTS namespace contract.
    reject(Object diagnostic)
    Stop the command with a controlled, recorded diagnostic.
    void
    setCommand(String command)
    Public WorkflowCommandContext.command member exposed by the AngularTS namespace contract.
    void
    Public WorkflowCommandContext.data member exposed by the AngularTS namespace contract.
    void
    Public WorkflowCommandContext.input member exposed by the AngularTS namespace contract.
    void
    setSignal(elemental2.dom.AbortSignal signal)
    Public WorkflowCommandContext.signal member exposed by the AngularTS namespace contract.
  • Method Details

    • cleanup

      Public WorkflowCommandContext.cleanup member exposed by the AngularTS namespace contract.
      Parameters:
      callback - Value supplied for the callback parameter.
    • getCommand

      @JsProperty String getCommand()
      Public WorkflowCommandContext.command member exposed by the AngularTS namespace contract.
    • getData

      @JsProperty Object getData()
      Public WorkflowCommandContext.data member exposed by the AngularTS namespace contract.
    • getInput

      @JsProperty TInput getInput()
      Public WorkflowCommandContext.input member exposed by the AngularTS namespace contract.
    • getSignal

      @JsProperty elemental2.dom.AbortSignal getSignal()
      Public WorkflowCommandContext.signal member exposed by the AngularTS namespace contract.
    • reject

      Object reject(Object diagnostic)
      Stop the command with a controlled, recorded diagnostic.
      Parameters:
      diagnostic - Value supplied for the diagnostic parameter.
      Returns:
      Method result.
    • setCommand

      @JsProperty void setCommand(String command)
      Public WorkflowCommandContext.command member exposed by the AngularTS namespace contract.
    • setData

      @JsProperty void setData(Object data)
      Public WorkflowCommandContext.data member exposed by the AngularTS namespace contract.
    • setInput

      @JsProperty void setInput(TInput input)
      Public WorkflowCommandContext.input member exposed by the AngularTS namespace contract.
    • setSignal

      @JsProperty void setSignal(elemental2.dom.AbortSignal signal)
      Public WorkflowCommandContext.signal member exposed by the AngularTS namespace contract.