public class StartProcessInstanceWithParentCommand extends Object implements org.kie.api.command.ExecutableCommand<org.kie.api.runtime.process.ProcessInstance>, org.kie.internal.command.ProcessInstanceIdCommand
Constructor and Description |
---|
StartProcessInstanceWithParentCommand() |
StartProcessInstanceWithParentCommand(Long processInstanceId,
Long parentProcessInstanceId) |
Modifier and Type | Method and Description |
---|---|
org.kie.api.runtime.process.ProcessInstance |
execute(org.kie.api.runtime.Context context) |
Long |
getParentProcessInstanceId() |
Long |
getProcessInstanceId() |
void |
setParentProcessInstanceId(Long parentProcessInstanceId) |
void |
setProcessInstanceId(Long processInstanceId) |
public StartProcessInstanceWithParentCommand()
public Long getParentProcessInstanceId()
public void setParentProcessInstanceId(Long parentProcessInstanceId)
public Long getProcessInstanceId()
getProcessInstanceId
in interface org.kie.internal.command.ProcessInstanceIdCommand
public void setProcessInstanceId(Long processInstanceId)
setProcessInstanceId
in interface org.kie.internal.command.ProcessInstanceIdCommand
public org.kie.api.runtime.process.ProcessInstance execute(org.kie.api.runtime.Context context)
execute
in interface org.kie.api.command.ExecutableCommand<org.kie.api.runtime.process.ProcessInstance>
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.