Class TriggerImpl
- java.lang.Object
-
- org.silverpeas.core.workflow.engine.AbstractReferrableObject
-
- org.silverpeas.core.workflow.engine.model.TriggerImpl
-
- All Implemented Interfaces:
Serializable
,Trigger
,ReferrableObjectIntf
public class TriggerImpl extends AbstractReferrableObject implements Trigger, Serializable
Class implementing the representation of the <trigger> element of a Process Model.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TriggerImpl()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParameter(Parameter parameter)
Add a Parameter to the collectionString
getHandler()
Get the handler name of the Trigger.String
getKey()
Return the unique keyString
getName()
Get the name of the ParameterParameter
getParameter(String strName)
Get the parameter specified by namevoid
setHandler(String handlerName)
Set the handler name of the Trigger.void
setName(String name)
Set the name of the Parameter-
Methods inherited from class org.silverpeas.core.workflow.engine.AbstractReferrableObject
equals, hashCode
-
-
-
-
Method Detail
-
getName
public String getName()
Get the name of the Parameter
-
setName
public void setName(String name)
Set the name of the Parameter
-
getHandler
public String getHandler()
Description copied from interface:Trigger
Get the handler name of the Trigger.- Specified by:
getHandler
in interfaceTrigger
- Returns:
- the handler name filled into
Named
annotations ofExternalActionImpl
implementations.
-
setHandler
public void setHandler(String handlerName)
Description copied from interface:Trigger
Set the handler name of the Trigger.- Specified by:
setHandler
in interfaceTrigger
- Parameters:
handlerName
- the handler name.
-
getKey
public String getKey()
Description copied from interface:ReferrableObjectIntf
Return the unique key- Specified by:
getKey
in interfaceReferrableObjectIntf
-
getParameter
public Parameter getParameter(String strName)
Description copied from interface:Trigger
Get the parameter specified by name- Specified by:
getParameter
in interfaceTrigger
- Parameters:
strName
- the parameter name- Returns:
- the parameters
-
addParameter
public void addParameter(Parameter parameter)
Description copied from interface:Trigger
Add a Parameter to the collection- Specified by:
addParameter
in interfaceTrigger
-
-