Interface WorkflowSupervisor<TWorkflows>


@JsType(isNative=true, name="ng.WorkflowSupervisor", namespace="<global>") public interface WorkflowSupervisor<TWorkflows>
Public AngularTS WorkflowSupervisor contract exposed through the global ng namespace for Closure-annotated applications.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Public WorkflowSupervisor.cancelAll member exposed by the AngularTS namespace contract.
    elemental2.core.JsArray<Object>
    Public WorkflowSupervisor.diagnostics member exposed by the AngularTS namespace contract.
    Public WorkflowSupervisor.id member exposed by the AngularTS namespace contract.
    elemental2.promise.Promise<WorkflowSupervisorSnapshot<jsinterop.base.JsPropertyMap<Object>>>
    Public WorkflowSupervisor.ready member exposed by the AngularTS namespace contract.
    Public WorkflowSupervisor.status member exposed by the AngularTS namespace contract.
    elemental2.promise.Promise<WorkflowSupervisorSnapshot<jsinterop.base.JsPropertyMap<Object>>>
    Public WorkflowSupervisor.persist member exposed by the AngularTS namespace contract.
    elemental2.promise.Promise<WorkflowSupervisorSnapshot<jsinterop.base.JsPropertyMap<Object>>>
    Public WorkflowSupervisor.recover member exposed by the AngularTS namespace contract.
    void
    restore(Object snapshot)
    Public WorkflowSupervisor.restore member exposed by the AngularTS namespace contract.
    void
    setDiagnostics(elemental2.core.JsArray<Object> diagnostics)
    Public WorkflowSupervisor.diagnostics member exposed by the AngularTS namespace contract.
    void
    Public WorkflowSupervisor.id member exposed by the AngularTS namespace contract.
    void
    setReady(elemental2.promise.Promise<WorkflowSupervisorSnapshot<jsinterop.base.JsPropertyMap<Object>>> ready)
    Public WorkflowSupervisor.ready member exposed by the AngularTS namespace contract.
    void
    setStatus(String status)
    Public WorkflowSupervisor.status member exposed by the AngularTS namespace contract.
    WorkflowSupervisorSnapshot<jsinterop.base.JsPropertyMap<Object>>
    Public WorkflowSupervisor.snapshot member exposed by the AngularTS namespace contract.
    <TWorkflowName>
    Object
    workflow(TWorkflowName name)
    Public WorkflowSupervisor.workflow member exposed by the AngularTS namespace contract.
  • Method Details

    • cancelAll

      double cancelAll()
      Public WorkflowSupervisor.cancelAll member exposed by the AngularTS namespace contract.
      Returns:
      Method result.
    • getDiagnostics

      @JsProperty elemental2.core.JsArray<Object> getDiagnostics()
      Public WorkflowSupervisor.diagnostics member exposed by the AngularTS namespace contract.
    • getId

      @JsProperty String getId()
      Public WorkflowSupervisor.id member exposed by the AngularTS namespace contract.
    • getReady

      @JsProperty elemental2.promise.Promise<WorkflowSupervisorSnapshot<jsinterop.base.JsPropertyMap<Object>>> getReady()
      Public WorkflowSupervisor.ready member exposed by the AngularTS namespace contract.
    • getStatus

      @JsProperty String getStatus()
      Public WorkflowSupervisor.status member exposed by the AngularTS namespace contract.
    • persist

      elemental2.promise.Promise<WorkflowSupervisorSnapshot<jsinterop.base.JsPropertyMap<Object>>> persist()
      Public WorkflowSupervisor.persist member exposed by the AngularTS namespace contract.
      Returns:
      Method result.
    • recover

      elemental2.promise.Promise<WorkflowSupervisorSnapshot<jsinterop.base.JsPropertyMap<Object>>> recover()
      Public WorkflowSupervisor.recover member exposed by the AngularTS namespace contract.
      Returns:
      Method result.
    • restore

      void restore(Object snapshot)
      Public WorkflowSupervisor.restore member exposed by the AngularTS namespace contract.
      Parameters:
      snapshot - Value supplied for the snapshot parameter.
    • setDiagnostics

      @JsProperty void setDiagnostics(elemental2.core.JsArray<Object> diagnostics)
      Public WorkflowSupervisor.diagnostics member exposed by the AngularTS namespace contract.
    • setId

      @JsProperty void setId(String id)
      Public WorkflowSupervisor.id member exposed by the AngularTS namespace contract.
    • setReady

      @JsProperty void setReady(elemental2.promise.Promise<WorkflowSupervisorSnapshot<jsinterop.base.JsPropertyMap<Object>>> ready)
      Public WorkflowSupervisor.ready member exposed by the AngularTS namespace contract.
    • setStatus

      @JsProperty void setStatus(String status)
      Public WorkflowSupervisor.status member exposed by the AngularTS namespace contract.
    • snapshot

      WorkflowSupervisorSnapshot<jsinterop.base.JsPropertyMap<Object>> snapshot()
      Public WorkflowSupervisor.snapshot member exposed by the AngularTS namespace contract.
      Returns:
      Method result.
    • workflow

      <TWorkflowName> Object workflow(TWorkflowName name)
      Public WorkflowSupervisor.workflow member exposed by the AngularTS namespace contract.
      Parameters:
      name - Value supplied for the name parameter.
      Returns:
      Method result.