Class FcSetSavedFlagBpmnModeler
- java.lang.Object
-
- de.xima.fc.workflow.bpmn.AServiceTaskBpmnModeler<FcSetSavedFlagProps>
-
- de.xima.fc.workflow.designer.bpmn.node.action.FcSetSavedFlagBpmnModeler
-
- All Implemented Interfaces:
IWorkflowNodeBpmnModeler<FcSetSavedFlagProps>
public final class FcSetSavedFlagBpmnModeler extends AServiceTaskBpmnModeler<FcSetSavedFlagProps>
BPMN modeler
for nodes of typeset saved flag
.- Since:
- 8.4.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.xima.fc.workflow.bpmn.AServiceTaskBpmnModeler
AServiceTaskBpmnModeler.IStatefulTaskLayoutPostProcessor
-
-
Field Summary
Fields Modifier and Type Field Description static IWorkflowNodeBpmnModeler<FcSetSavedFlagProps>
INSTANCE
The immutable singleton instance of this modeler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
createName(IModelWorkflowNodeParams<FcSetSavedFlagProps> params, IWorkflowBpmnModelContext context, IBoundMessageLocalizer localizer)
Creates the name of the service task in the BPMN model.-
Methods inherited from class de.xima.fc.workflow.bpmn.AServiceTaskBpmnModeler
createDetails, createIoSpecification, createTaskLayoutPostProcessor, modelNode
-
-
-
-
Field Detail
-
INSTANCE
public static IWorkflowNodeBpmnModeler<FcSetSavedFlagProps> INSTANCE
The immutable singleton instance of this modeler.
-
-
Method Detail
-
createName
protected String createName(IModelWorkflowNodeParams<FcSetSavedFlagProps> params, IWorkflowBpmnModelContext context, IBoundMessageLocalizer localizer)
Description copied from class:AServiceTaskBpmnModeler
Creates the name of the service task in the BPMN model. This is thename
of theservice task
, usually placed inside the rectangle that represents the task in the BPMN diagram.The rectangle always has a defined width and height, independent of the name's length, so the name should be short and concise. If the name is too long, it may be truncated in the BPMN diagram. As a best practice, try not to include any user-configurable details in the name, simply use a static name that describes the type of action. Details about the action should be included in the task's
annotation
, seecreateDetails
.By convention, name a task using an object and a verb in the infinitive. By doing this, you consistently describe what you do with an object. For example:
- Review draft
- Check invoice
- Announce job
- Specified by:
createName
in classAServiceTaskBpmnModeler<FcSetSavedFlagProps>
- Parameters:
params
- The parameters with the node to model, as provided by the workflow engine.context
- The BPMN model context, as provided by the workflow engine.localizer
- The localizer to use for localizing the name. This is the same as theboundMessageLocalizer
obtained from thecontext
.- Returns:
- The name of the service task in the BPMN model.
-
-