Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM :: Distribution 6.2.1-SNAPSHOT
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbpm.kie.services.impl
Class CommonUtils

    java.lang.Object
      org.jbpm.kie.services.impl.CommonUtils

    public class CommonUtils

extends Object

This class is also used in the kie-remote-client module

Constructor Summary
`CommonUtils()`

Method Summary
`static Long` | `getProcessInstanceId(Command<?> command)` Returns the process instance id field in a command, if available See the CommonUtils.testProcessInstanceIdCommands test in this module

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CommonUtils

    public CommonUtils()

Method Detail

### getProcessInstanceId

    public static Long getProcessInstanceId(Command<?> command)

  Returns the process instance id field in a command, if available See the CommonUtils.testProcessInstanceIdCommands test in this module

  Parameters:
    `command` - The `Command` instance
  Returns:
    the process instance id, if it's available in this command

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM :: Distribution 6.2.1-SNAPSHOT
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.