org.jbpm.process.instance.command

## Class SuspendProcessInstanceCommand

- java.lang.Object
- - org.jbpm.process.instance.command.SuspendProcessInstanceCommand

- All Implemented Interfaces:
    Serializable, org.kie.api.command.Command<Object>, org.kie.api.command.ExecutableCommand<Object>, org.kie.internal.command.ProcessInstanceIdCommand

      public class SuspendProcessInstanceCommand
      extends Object
      implements org.kie.api.command.ExecutableCommand<Object>, org.kie.internal.command.ProcessInstanceIdCommand

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SuspendProcessInstanceCommand()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `execute(org.kie.api.runtime.Context context)`
    `Long` | `getProcessInstanceId()`
    `void` | `setProcessInstanceId(Long processInstanceId)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### SuspendProcessInstanceCommand

          public SuspendProcessInstanceCommand()

  - ### Method Detail

    - #### getProcessInstanceId

          public Long getProcessInstanceId()

      Specified by:
        `getProcessInstanceId` in interface `org.kie.internal.command.ProcessInstanceIdCommand`

    - #### setProcessInstanceId

          public void setProcessInstanceId(Long processInstanceId)

      Specified by:
        `setProcessInstanceId` in interface `org.kie.internal.command.ProcessInstanceIdCommand`

    - #### execute

          public Object execute(org.kie.api.runtime.Context context)

      Specified by:
        `execute` in interface `org.kie.api.command.ExecutableCommand<Object>`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.