Class StartProcessInstanceWithParentCommand

  • All Implemented Interfaces:
    Serializable, org.kie.api.command.Command<org.kie.api.runtime.process.ProcessInstance>, org.kie.api.command.ExecutableCommand<org.kie.api.runtime.process.ProcessInstance>, org.kie.internal.command.ProcessInstanceIdCommand

    public class StartProcessInstanceWithParentCommand
    extends Object
    implements org.kie.api.command.ExecutableCommand<org.kie.api.runtime.process.ProcessInstance>, org.kie.internal.command.ProcessInstanceIdCommand
    See Also:
    Serialized Form
    • Constructor Detail

      • StartProcessInstanceWithParentCommand

        public StartProcessInstanceWithParentCommand()
      • StartProcessInstanceWithParentCommand

        public StartProcessInstanceWithParentCommand​(Long processInstanceId,
                                                     Long parentProcessInstanceId)
    • Method Detail

      • getParentProcessInstanceId

        public Long getParentProcessInstanceId()
      • setParentProcessInstanceId

        public void setParentProcessInstanceId​(Long parentProcessInstanceId)
      • getProcessInstanceId

        public Long getProcessInstanceId()
        Specified by:
        getProcessInstanceId in interface org.kie.internal.command.ProcessInstanceIdCommand
      • setProcessInstanceId

        public void setProcessInstanceId​(Long processInstanceId)
        Specified by:
        setProcessInstanceId in interface org.kie.internal.command.ProcessInstanceIdCommand
      • execute

        public org.kie.api.runtime.process.ProcessInstance execute​(org.kie.api.runtime.Context context)
        Specified by:
        execute in interface org.kie.api.command.ExecutableCommand<org.kie.api.runtime.process.ProcessInstance>