org.jprocessunit
Class ActionEvent

java.lang.Object
  extended by org.jprocessunit.ActionEvent
All Implemented Interfaces:
ProcessEvent
Direct Known Subclasses:
CompleteTaskEvent, DatabaseActionEvent, DeleteTaskEvent, FileCopyEvent, FileDeleteEvent, StartProcessEvent, TerminateProcessEvent

public abstract class ActionEvent
extends java.lang.Object
implements ProcessEvent

Class that should be extended by all specific ActionEvent's. ActionEvent's are test events that perform an action that the process being tested is waiting for.

Author:
Reza Shafii

Constructor Summary
ActionEvent()
           
 
Method Summary
 void assertEvent()
          Calls performAction.
abstract  void performAction()
          Method should be overriden by all subclasses to implement the action to be performed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionEvent

public ActionEvent()
Method Detail

assertEvent

public void assertEvent()
Calls performAction.

Specified by:
assertEvent in interface ProcessEvent

performAction

public abstract void performAction()
Method should be overriden by all subclasses to implement the action to be performed.



JProcessUnit API