Package de.xima.fc.workflow
Class TriggerPrototypeData<TData>
- java.lang.Object
-
- de.xima.fc.workflow.TriggerPrototypeData<TData>
-
- Type Parameters:
TData
- Type of the properties model, seeITriggerHandler
.
- All Implemented Interfaces:
IElementPrototypeData<TData>
,IWorkflowElementTypeProviding
,ITriggerPrototypeData<TData>
,IWorkflowTriggerTypeProviding
public class TriggerPrototypeData<TData> extends Object implements ITriggerPrototypeData<TData>
Default POJO implementation ofITriggerPrototypeData
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description TriggerPrototypeData(String type, TData customParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TData
getData()
When a new workflow element is created, its data default to what is returned by this method.String
getType()
-
-
-
Method Detail
-
getData
public TData getData()
Description copied from interface:IElementPrototypeData
When a new workflow element is created, its data default to what is returned by this method. A copy is made of that data, subsequent modifications to the value returned by this method will not affect the workflow designer.- Specified by:
getData
in interfaceIElementPrototypeData<TData>
- Returns:
- The properties to be used for the new workflow element.
-
getType
public String getType()
- Specified by:
getType
in interfaceIWorkflowElementTypeProviding
- Returns:
- The type of the workflow element that determines how the workflow element behaves. Usually there is a registered handler for each type.
-
-