de.oio.bugkilla.protocol
Interface Commandable

All Known Subinterfaces:
CallHandler, Recorder
All Known Implementing Classes:
CommandableTestHelper, CommandLanguage, FilterManager, FilterState, RecorderManager, StandAloneRecorderServer

public interface Commandable

The Commandable interface provides for sending commands to an instance that records TestSequences. While recording each new TestStep object has to be added to the current TestSequence. A class implementing this interface represents the ability of starting a new recording to create a new TestSequence, stopping the recording to terminate the recorded TestSequence and stopping the whole process of recording.

Author:
cdedek

Method Summary
 void startRecording()
          Starts recording a new TestSequence.
 void startRecordingUserInteraction()
          Starts recording a new UserInteraction.
 void stop()
          Stops the process of creating new TestStep objects added to the current TestSequence.
 void stopRecording()
          Stops the recording process of creating new UserInteraction objects added to the current TestSequence.
 

Method Detail

stop

public void stop()
Stops the process of creating new TestStep objects added to the current TestSequence. Also like stopRecording calling this method should terminate the TestSequence object and memorize it.


startRecording

public void startRecording()
Starts recording a new TestSequence. Sending this signal the implementing class creates for each step a new TestStep object adding this to the TestSequence until the signal stopRecording is sent.


stopRecording

public void stopRecording()
Stops the recording process of creating new UserInteraction objects added to the current TestSequence. When calling this method the TestSequence should be registered with a new Identity and memorized in the sequence pool. The Commandable now can restart recording a new sequence by the use of calling startRecording.


startRecordingUserInteraction

public void startRecordingUserInteraction()
Starts recording a new UserInteraction.



Copyright © Orientation in Objects GmbH. All Rights Reserved.