com.silverpeas.workflow.api.model
Interface Triggers

All Known Implementing Classes:
TriggersImpl

public interface Triggers

Interface describing a representation of the <triggers> element of a Process Model.


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
 

Method Detail

getTriggerList

List<Trigger> getTriggerList()
Get the referenced Trigger objects as a list

Returns:

iterateTrigger

Iterator<Trigger> iterateTrigger()
Iterate through the Trigger objects

Returns:
an iterator

addTrigger

void addTrigger(Trigger trigger)
Add a trigger to the collection

Parameters:
trigger - to be added

createTrigger

Trigger createTrigger()
Create a trigger

Returns:
an object implementing Trigger

removeAllTriggers

void removeAllTriggers()
Remove all trigger objects from the collection



Copyright © 2016 Silverpeas. All Rights Reserved.