public class CompositeCommand<T> extends TaskCommand<T>
groupIds, targetEntityId, taskId, userId
Constructor and Description |
---|
CompositeCommand() |
CompositeCommand(TaskCommand<T> mainCommand,
TaskCommand<?>... commands) |
Modifier and Type | Method and Description |
---|---|
T |
execute(org.kie.internal.command.Context context) |
List<TaskCommand<?>> |
getCommands() |
TaskCommand<T> |
getMainCommand() |
Long |
getTaskId() |
void |
setCommands(List<TaskCommand<?>> commands) |
void |
setMainCommand(TaskCommand<T> mainCommand) |
getGroupsIds, getTargetEntityId, getUserId, setGroupsIds, setTargetEntityId, setTaskId, setUserId
public CompositeCommand()
public CompositeCommand(TaskCommand<T> mainCommand, TaskCommand<?>... commands)
public T execute(org.kie.internal.command.Context context)
public TaskCommand<T> getMainCommand()
public void setMainCommand(TaskCommand<T> mainCommand)
public List<TaskCommand<?>> getCommands()
public void setCommands(List<TaskCommand<?>> commands)
public Long getTaskId()
getTaskId
in class TaskCommand<T>
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.