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 boolean
equals(Object obj)
TriggerKey
getElement()
IFileValueDescriptor
getFileValueDescriptor()
The file value descriptor associated with the files provided by the trigger.String
getName()
String
getType()
int
hashCode()
String
toString()
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:
getElement
in interfaceINamedElement<TriggerKey>
- Specified by:
getElement
in interfaceITriggerWithName
- Returns:
- The element itself.
-
getFileValueDescriptor
public IFileValueDescriptor getFileValueDescriptor()
Description copied from interface:IFileProvidingTriggerWithName
The file value descriptor associated with the files provided by the trigger.- Specified by:
getFileValueDescriptor
in interfaceIFileProvidingTriggerWithName
- Specified by:
getFileValueDescriptor
in interfaceIFileProvidingWorkflowElement<TriggerKey>
- Returns:
- The file value descriptor.
-
getName
public String getName()
- Specified by:
getName
in interfaceINamedElement<TriggerKey>
- Returns:
- The name of the element.
-
getType
public String getType()
- Specified by:
getType
in interfaceITriggerWithName
- 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.
-
-