Class FcCompressAsZipBpmnModeler
- java.lang.Object
-
- de.xima.fc.workflow.bpmn.AServiceTaskBpmnModeler<FcCompressAsZipProps>
-
- de.xima.fc.workflow.designer.bpmn.node.action.FcCompressAsZipBpmnModeler
-
- All Implemented Interfaces:
IWorkflowNodeBpmnModeler<FcCompressAsZipProps>
public final class FcCompressAsZipBpmnModeler extends AServiceTaskBpmnModeler<FcCompressAsZipProps>
BPMN modelerfor nodes of typecompress as ZIP.- 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<FcCompressAsZipProps>INSTANCEThe immutable singleton instance of this modeler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringcreateDetails(IModelWorkflowNodeParams<FcCompressAsZipProps> params, IWorkflowBpmnModelContext context, IBoundMessageLocalizer localizer)Creates additional details regarding the configuration of the service task.protected StringcreateName(IModelWorkflowNodeParams<FcCompressAsZipProps> 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
createIoSpecification, createTaskLayoutPostProcessor, modelNode
-
-
-
-
Field Detail
-
INSTANCE
public static IWorkflowNodeBpmnModeler<FcCompressAsZipProps> INSTANCE
The immutable singleton instance of this modeler.
-
-
Method Detail
-
createDetails
protected String createDetails(IModelWorkflowNodeParams<FcCompressAsZipProps> params, IWorkflowBpmnModelContext context, IBoundMessageLocalizer localizer)
Description copied from class:AServiceTaskBpmnModelerCreates additional details regarding the configuration of the service task. These details are included in thetext annotationof the service task, usually placed above the rectangle that represents the task in the BPMN diagram.- Overrides:
createDetailsin classAServiceTaskBpmnModeler<FcCompressAsZipProps>- 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 theboundMessageLocalizerobtained from thecontext.- Returns:
- The details of the service task in the BPMN model.
-
createName
protected String createName(IModelWorkflowNodeParams<FcCompressAsZipProps> params, IWorkflowBpmnModelContext context, IBoundMessageLocalizer localizer)
Description copied from class:AServiceTaskBpmnModelerCreates the name of the service task in the BPMN model. This is thenameof 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:
createNamein classAServiceTaskBpmnModeler<FcCompressAsZipProps>- 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 theboundMessageLocalizerobtained from thecontext.- Returns:
- The name of the service task in the BPMN model.
-
-