Class TriggerPrototypeData<TData>

    • Constructor Detail

      • TriggerPrototypeData

        public TriggerPrototypeData​(String type,
                                    TData customParameters)
    • 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 interface IElementPrototypeData<TData>
        Returns:
        The properties to be used for the new workflow element.
      • getType

        public String getType()
        Specified by:
        getType in interface IWorkflowElementTypeProviding
        Returns:
        The type of the workflow element that determines how the workflow element behaves. Usually there is a registered handler for each type.