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 List<String> |
getCallbackUserRoles(org.kie.api.task.UserGroupCallback userGroupCallback,
String userId) |
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
instancepublic static List<String> getAuthenticatedUserRoles(org.kie.internal.identity.IdentityProvider identityProvider)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.