net.dpml.state
Interface Trigger


public interface Trigger

Interface describing a condition within which an action may be invoked.

Version:
2.1.0
Author:
Digital Product Management Library

Method Summary
 Action getAction()
          Return the actions that this trigger initiates.
 TriggerPolicy getPolicy()
          Return the event enumneration that this trigger is associated with.
 

Method Detail

getPolicy

TriggerPolicy getPolicy()
Return the event enumneration that this trigger is associated with.

Returns:
the triggering event class

getAction

Action getAction()
Return the actions that this trigger initiates.

Returns:
the triggered action