it.amattioli.workstate.core
Interface EventValidator

Show UML class diagram

public interface EventValidator

This interface must be implemented by objects that are able to validate events.


Method Summary
 void validate(Event event)
          Validate an event.
 

Method Detail

validate

void validate(Event event)
              throws WorkflowException
Validate an event. If the event is valid the method will terminate normally, otherwise it will throw a WorkflowException.

Parameters:
event - the event to be validated
Throws:
WorkflowException - if the event is not valid


Copyright © 2011. All Rights Reserved.