Class FileProvidingTriggerWithName
- java.lang.Object
-
- de.xima.fc.workflow.processor.model.FileProvidingTriggerWithName
-
- All Implemented Interfaces:
INamedElement<TriggerKey>,IFileProvidingWorkflowElement<TriggerKey>,ITypedWorkflowElement<TriggerKey>,IWorkflowElementTypeProviding,IFileProvidingTriggerWithName,ITriggerWithName,Serializable
public final class FileProvidingTriggerWithName extends Object implements IFileProvidingTriggerWithName
POJO implementation ofIFileProvidingTriggerWithName.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileProvidingTriggerWithName(TriggerKey key, String name, String type, IFileValueDescriptor fileValueDescriptor)Creates a new POJO instance with the given values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)TriggerKeygetElement()IFileValueDescriptorgetFileValueDescriptor()The file value descriptor associated with the files provided by the trigger.StringgetName()StringgetType()inthashCode()StringtoString()Converts this trigger with name to a string reflecting the data of this POJO.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.xima.fc.interfaces.workflow.triggers.ITriggerWithName
getElementKey
-
-
-
-
Constructor Detail
-
FileProvidingTriggerWithName
public FileProvidingTriggerWithName(TriggerKey key, String name, String type, IFileValueDescriptor fileValueDescriptor)
Creates a new POJO instance with the given values.- Parameters:
key- The value forINamedElement.getElement(). Must not benull.name- The value forINamedElement.getName().type- The value forIWorkflowElementTypeProviding.getType().fileValueDescriptor- The value forIFileProvidingTriggerWithName.getFileValueDescriptor().
-
-
Method Detail
-
getElement
public TriggerKey getElement()
- Specified by:
getElementin interfaceINamedElement<TriggerKey>- Specified by:
getElementin interfaceITriggerWithName- Returns:
- The element itself.
-
getFileValueDescriptor
public IFileValueDescriptor getFileValueDescriptor()
Description copied from interface:IFileProvidingTriggerWithNameThe file value descriptor associated with the files provided by the trigger.- Specified by:
getFileValueDescriptorin interfaceIFileProvidingTriggerWithName- Specified by:
getFileValueDescriptorin interfaceIFileProvidingWorkflowElement<TriggerKey>- Returns:
- The file value descriptor.
-
getName
public String getName()
- Specified by:
getNamein interfaceINamedElement<TriggerKey>- Returns:
- The name of the element.
-
getType
public String getType()
- Specified by:
getTypein interfaceITriggerWithName- Specified by:
getTypein interfaceIWorkflowElementTypeProviding- Returns:
- The type of the workflow element that determines how the workflow element behaves. Usually there is a registered handler for each type.
-
-