org.jbpm.process.instance.command

## Class SuspendProcessInstanceCommand

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

- All Implemented Interfaces:
    Serializable, org.drools.core.command.impl.GenericCommand<Object>, org.kie.api.command.Command<Object>, org.kie.internal.command.ProcessInstanceIdCommand

      public class SuspendProcessInstanceCommand
      extends Object
      implements org.drools.core.command.impl.GenericCommand<Object>, org.kie.internal.command.ProcessInstanceIdCommand

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SuspendProcessInstanceCommand()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `execute(org.kie.internal.command.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.internal.command.Context context)

      Specified by:
        `execute` in interface `org.drools.core.command.impl.GenericCommand<Object>`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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