Exemple #1
0
        protected internal virtual UpdateProcessInstanceSuspensionStateBuilderImpl createProcessInstanceCommandBuilder()
        {
            UpdateProcessInstanceSuspensionStateBuilderImpl processInstanceBuilder = new UpdateProcessInstanceSuspensionStateBuilderImpl();

            if (!string.ReferenceEquals(processDefinitionId, null))
            {
                processInstanceBuilder.byProcessDefinitionId(processDefinitionId);
            }
            else if (!string.ReferenceEquals(processDefinitionKey, null))
            {
                processInstanceBuilder.byProcessDefinitionKey(processDefinitionKey);

                if (isTenantIdSet && !string.ReferenceEquals(tenantId, null))
                {
                    processInstanceBuilder.processDefinitionTenantId(tenantId);
                }
                else if (isTenantIdSet)
                {
                    processInstanceBuilder.processDefinitionWithoutTenantId();
                }
            }
            return(processInstanceBuilder);
        }
Exemple #2
0
 public ActivateProcessInstanceCmd(UpdateProcessInstanceSuspensionStateBuilderImpl builder) : base(builder)
 {
 }
Exemple #3
0
 protected internal override ActivateProcessInstanceCmd getNextCommand(UpdateProcessInstanceSuspensionStateBuilderImpl processInstanceCommandBuilder)
 {
     return(new ActivateProcessInstanceCmd(processInstanceCommandBuilder));
 }
Exemple #4
0
 protected internal abstract AbstractSetProcessInstanceStateCmd getNextCommand(UpdateProcessInstanceSuspensionStateBuilderImpl processInstanceCommandBuilder);