org.ow2.clif.server.api
Interface ActivityControl

All Known Subinterfaces:
BladeControl, TestControl
All Known Implementing Classes:
AbstractDumbInsert, AbstractInsert, BladeInsertAdapterImpl, Insert, Insert, Insert, Insert, Insert, Insert, Insert, Insert_JRockit5, IsacExtendedEngine, MTScenario, SupervisorImpl

public interface ActivityControl

Generic control of an activity

Author:
Bruno Dillenseger

Method Summary
 void init(java.io.Serializable testId)
          Initialize the activity
 void join()
          Waits until the end of the activity
 void resume()
          Resume the activity (if suspended)
 void start()
          Initial start of the activity
 void stop()
          Final stop of the activity
 void suspend()
          Suspend the activity
 

Method Detail

init

void init(java.io.Serializable testId)
          throws ClifException
Initialize the activity

Parameters:
testId - an arbitrary initialization name
Throws:
ClifException

start

void start()
Initial start of the activity


stop

void stop()
Final stop of the activity


suspend

void suspend()
Suspend the activity


resume

void resume()
Resume the activity (if suspended)


join

void join()
Waits until the end of the activity