com.silverpeas.workflow.engine.model
Class TriggersImpl

java.lang.Object
  extended by com.silverpeas.workflow.engine.model.TriggersImpl
All Implemented Interfaces:
Triggers, Serializable

public class TriggersImpl
extends Object
implements Serializable, Triggers

Class implementing the representation of the <triggers> element of a Process Model.

See Also:
Serialized Form

Constructor Summary
TriggersImpl()
          Constructor
 
Method Summary
 void addTrigger(Trigger trigger)
          Add a trigger to the collection
 Trigger createTrigger()
          Create a trigger
 List<Trigger> getTriggerList()
          Get the referenced Trigger objects as a list
 Iterator<Trigger> iterateTrigger()
          Iterate through the Trigger objects
 void removeAllTriggers()
          Remove all trigger objects from the collection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TriggersImpl

public TriggersImpl()
Constructor

Method Detail

getTriggerList

public List<Trigger> getTriggerList()
Description copied from interface: Triggers
Get the referenced Trigger objects as a list

Specified by:
getTriggerList in interface Triggers
Returns:

addTrigger

public void addTrigger(Trigger trigger)
Description copied from interface: Triggers
Add a trigger to the collection

Specified by:
addTrigger in interface Triggers
Parameters:
trigger - to be added

createTrigger

public Trigger createTrigger()
Description copied from interface: Triggers
Create a trigger

Specified by:
createTrigger in interface Triggers
Returns:
an object implementing Trigger

iterateTrigger

public Iterator<Trigger> iterateTrigger()
Description copied from interface: Triggers
Iterate through the Trigger objects

Specified by:
iterateTrigger in interface Triggers
Returns:
an iterator

removeAllTriggers

public void removeAllTriggers()
Description copied from interface: Triggers
Remove all trigger objects from the collection

Specified by:
removeAllTriggers in interface Triggers


Copyright © 2016 Silverpeas. All Rights Reserved.