public class CommonUtils extends Object
Constructor and Description |
---|
CommonUtils() |
Modifier and Type | Method and Description |
---|---|
static List<String> |
getAuthenticatedUserRoles(org.kie.internal.identity.IdentityProvider identityProvider) |
static Long |
getProcessInstanceId(org.kie.api.command.Command<?> command)
Returns the process instance id field in a command, if available
See the CommonUtils.testProcessInstanceIdCommands test in this module
|
public static Long getProcessInstanceId(org.kie.api.command.Command<?> command)
command
- The Command
instanceCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.