org.datamanager.constraint
Interface EventConstraint
- All Superinterfaces:
- Constraint, EntityValue, Serializable
- All Known Implementing Classes:
- AbstractEventConstraint
- public interface EventConstraint
- extends Constraint
Constraints define a set of events. For any given event, a
constraint's accepts() method should return true if that
event is a member of its set, and false if it is not.
- Author:
- Matthew Farrellee
Method Summary |
boolean |
accepts(DataManagerEvent defendant)
Reports whether a given event fits the set of events defined by
this constraint. |
NONE
public static final EventConstraint NONE
- Matches all events.
accepts
public boolean accepts(DataManagerEvent defendant)
throws DataManagerException
- Reports whether a given event fits the set of events defined by
this constraint.
DataManagerException
See the Helium Website