public class WfTaskCreationInstruction<PRC extends ProcessorSpecificContent,PCS extends ProcessSpecificContent> extends Object implements DebugDumpable
Modifier and Type | Field and Description |
---|---|
protected PRC |
processorContent |
INDENT_STRING
Modifier | Constructor and Description |
---|---|
protected |
WfTaskCreationInstruction(ChangeProcessor changeProcessor,
PRC processorContent,
PCS processContent) |
Modifier and Type | Method and Description |
---|---|
void |
addHandlersAfterWfProcessAtEnd(String... handlerUriArray) |
static WfTaskCreationInstruction<?,?> |
createEmpty(ChangeProcessor changeProcessor) |
static WfTaskCreationInstruction<?,?> |
createModelOnly(ChangeProcessor changeProcessor,
ModelContext modelContext) |
Task |
createTask(WfTaskController taskController,
Task parentTask,
com.evolveum.midpoint.xml.ns._public.common.common_3.WfConfigurationType wfConfigurationType) |
static WfTaskCreationInstruction<?,?> |
createWfOnly(ChangeProcessor changeProcessor,
ProcessorSpecificContent processorSpecificContent,
ProcessSpecificContent processSpecificContent) |
String |
debugDump()
Show the content of the object intended for diagnostics by system administrator.
|
String |
debugDump(int indent) |
Map<String,Object> |
getAllProcessVariables() |
ChangeProcessor |
getChangeProcessor() |
List<com.evolveum.midpoint.xml.ns._public.common.common_3.UriStackEntry> |
getHandlersAfterModelOperation() |
List<com.evolveum.midpoint.xml.ns._public.common.common_3.UriStackEntry> |
getHandlersAfterWfProcess() |
List<com.evolveum.midpoint.xml.ns._public.common.common_3.UriStackEntry> |
getHandlersBeforeModelOperation() |
protected PrismContext |
getPrismContext() |
String |
getProcessInstanceName() |
String |
getProcessName() |
boolean |
isNoProcess() |
boolean |
isSendStartConfirmation() |
void |
setCreateTaskAsSuspended() |
void |
setCreateTaskAsWaiting() |
void |
setExecuteModelOperationHandler(boolean executeModelOperationHandler) |
void |
setHandlersAfterModelOperation(String... handlerUri) |
void |
setHandlersBeforeModelOperation(String... handlerUri) |
void |
setNoProcess(boolean noProcess) |
void |
setObjectRef(ModelContext<?> modelContext,
OperationResult result) |
void |
setObjectRef(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType ref,
OperationResult result) |
void |
setProcessInstanceName(String name) |
void |
setProcessInterfaceBean(ProcessMidPointInterface processInterfaceBean) |
void |
setProcessName(String name) |
void |
setRequesterRef(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.UserType> requester) |
void |
setSendStartConfirmation(boolean sendStartConfirmation) |
void |
setSimple(boolean simple) |
void |
setTargetRef(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType ref,
OperationResult result) |
void |
setTaskModelContext(ModelContext taskModelContext) |
void |
setTaskName(String taskName) |
void |
setTaskObject(PrismObject taskObject) |
void |
setTaskOwner(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.UserType> taskOwner) |
boolean |
startsWorkflowProcess() |
String |
toString() |
protected final PRC extends ProcessorSpecificContent processorContent
protected WfTaskCreationInstruction(ChangeProcessor changeProcessor, PRC processorContent, PCS processContent)
public static WfTaskCreationInstruction<?,?> createModelOnly(ChangeProcessor changeProcessor, ModelContext modelContext) throws SchemaException
SchemaException
public static WfTaskCreationInstruction<?,?> createWfOnly(ChangeProcessor changeProcessor, ProcessorSpecificContent processorSpecificContent, ProcessSpecificContent processSpecificContent)
public static WfTaskCreationInstruction<?,?> createEmpty(ChangeProcessor changeProcessor) throws SchemaException
SchemaException
public ChangeProcessor getChangeProcessor()
protected PrismContext getPrismContext()
public void setSimple(boolean simple)
public boolean isSendStartConfirmation()
public void setSendStartConfirmation(boolean sendStartConfirmation)
public String getProcessName()
public void setProcessName(String name)
public String getProcessInstanceName()
public void setProcessInstanceName(String name)
public void setTaskName(String taskName)
public boolean isNoProcess()
public boolean startsWorkflowProcess()
public void setNoProcess(boolean noProcess)
public void setCreateTaskAsSuspended()
public void setCreateTaskAsWaiting()
public List<com.evolveum.midpoint.xml.ns._public.common.common_3.UriStackEntry> getHandlersAfterModelOperation()
public List<com.evolveum.midpoint.xml.ns._public.common.common_3.UriStackEntry> getHandlersBeforeModelOperation()
public List<com.evolveum.midpoint.xml.ns._public.common.common_3.UriStackEntry> getHandlersAfterWfProcess()
public void setHandlersBeforeModelOperation(String... handlerUri)
public void setHandlersAfterModelOperation(String... handlerUri)
public void addHandlersAfterWfProcessAtEnd(String... handlerUriArray)
public void setExecuteModelOperationHandler(boolean executeModelOperationHandler)
public void setTaskObject(PrismObject taskObject)
public void setTaskOwner(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.UserType> taskOwner)
public void setTaskModelContext(ModelContext taskModelContext)
public void setObjectRef(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType ref, OperationResult result)
public void setObjectRef(ModelContext<?> modelContext, OperationResult result)
public void setTargetRef(com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType ref, OperationResult result)
public void setRequesterRef(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.UserType> requester)
public void setProcessInterfaceBean(ProcessMidPointInterface processInterfaceBean)
public String debugDump()
DebugDumpable
debugDump
in interface DebugDumpable
public String debugDump(int indent)
debugDump
in interface DebugDumpable
public Task createTask(WfTaskController taskController, Task parentTask, com.evolveum.midpoint.xml.ns._public.common.common_3.WfConfigurationType wfConfigurationType) throws SchemaException
SchemaException
public Map<String,Object> getAllProcessVariables() throws SchemaException
SchemaException
Copyright © 2016 evolveum. All rights reserved.