Class FcSaveToWebDavBpmnModeler
- java.lang.Object
-
- de.xima.fc.workflow.bpmn.AServiceTaskBpmnModeler<FcSaveToWebDavProps>
-
- de.xima.fc.workflow.designer.bpmn.node.action.FcSaveToWebDavBpmnModeler
-
- All Implemented Interfaces:
IWorkflowNodeBpmnModeler<FcSaveToWebDavProps>
public final class FcSaveToWebDavBpmnModeler extends AServiceTaskBpmnModeler<FcSaveToWebDavProps>
BPMN modeler
for nodes of typesave to web dav
.- 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<FcSaveToWebDavProps>
INSTANCE
The immutable singleton instance of this modeler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
createDetails(IModelWorkflowNodeParams<FcSaveToWebDavProps> params, IWorkflowBpmnModelContext context, IBoundMessageLocalizer localizer)
Creates additional details regarding the configuration of the service task.protected String
createName(IModelWorkflowNodeParams<FcSaveToWebDavProps> params, IWorkflowBpmnModelContext context, IBoundMessageLocalizer localizer)
Creates the name of the service task in the BPMN model.protected AServiceTaskBpmnModeler.IStatefulTaskLayoutPostProcessor
createTaskLayoutPostProcessor(IModelWorkflowNodeParams<FcSaveToWebDavProps> params, IWorkflowBpmnModelContext context)
Creates a post-processor for the service task layout.-
Methods inherited from class de.xima.fc.workflow.bpmn.AServiceTaskBpmnModeler
createIoSpecification, modelNode
-
-
-
-
Field Detail
-
INSTANCE
public static IWorkflowNodeBpmnModeler<FcSaveToWebDavProps> INSTANCE
The immutable singleton instance of this modeler.
-
-
Method Detail
-
createDetails
protected String createDetails(IModelWorkflowNodeParams<FcSaveToWebDavProps> params, IWorkflowBpmnModelContext context, IBoundMessageLocalizer localizer)
Description copied from class:AServiceTaskBpmnModeler
Creates additional details regarding the configuration of the service task. These details are included in thetext annotation
of the service task, usually placed above the rectangle that represents the task in the BPMN diagram.- Overrides:
createDetails
in classAServiceTaskBpmnModeler<FcSaveToWebDavProps>
- 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 details of the service task in the BPMN model.
-
createName
protected String createName(IModelWorkflowNodeParams<FcSaveToWebDavProps> 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<FcSaveToWebDavProps>
- 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.
-
createTaskLayoutPostProcessor
protected AServiceTaskBpmnModeler.IStatefulTaskLayoutPostProcessor createTaskLayoutPostProcessor(IModelWorkflowNodeParams<FcSaveToWebDavProps> params, IWorkflowBpmnModelContext context)
Description copied from class:AServiceTaskBpmnModeler
Creates a post-processor for the service task layout. This allows you to enrich the service task with additional data and BPMN elements, such as addingdata objects
that represent the input or output of the service task. The default implementation returns a no-op post-processor that does enrich the task in any way.Usually you should create a new instance for each call to this method. This instance does not need to be thread-safe and is used only for the duration of a single
modeling operation
. The instance may store state that is accessed by its various methods.- Overrides:
createTaskLayoutPostProcessor
in classAServiceTaskBpmnModeler<FcSaveToWebDavProps>
- 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.- Returns:
- A post-processor for the service task layout, never
null
. The default implementation returns a no-op that does not enrich the service task in any way.
-
-