de.oio.bugkilla.protocol
Class CommandLanguage

java.lang.Object
  |
  +--de.oio.bugkilla.protocol.CommandLanguage
All Implemented Interfaces:
Commandable
Direct Known Subclasses:
FilterState, RecorderState

public abstract class CommandLanguage
extends java.lang.Object
implements Commandable

Author:
mniete This class includes the command string definitions and the default behavior of the Splitter/Recorder-State methods.

Field Summary
static java.lang.String EXIT_RECORDER
          Command 'off' to exit the bugkilla-recorder.
static java.lang.String START_RECORDING
          Command 'start' to recording a new TestSequence
static java.lang.String START_TEST_STEP
          Deprecated. since release 0-0-3. Please use instead the command userInteraction ("ui").
static java.lang.String START_USER_INTERACTION
          Command 'ui' to recording a new UserInteraction
static java.lang.String STOP_RECORDING
          Command 'stop' to stop the recording of a TestSequence
 
Constructor Summary
CommandLanguage()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

START_RECORDING

public static final java.lang.String START_RECORDING
Command 'start' to recording a new TestSequence

See Also:
Constant Field Values

STOP_RECORDING

public static final java.lang.String STOP_RECORDING
Command 'stop' to stop the recording of a TestSequence

See Also:
Constant Field Values

EXIT_RECORDER

public static final java.lang.String EXIT_RECORDER
Command 'off' to exit the bugkilla-recorder.

See Also:
Constant Field Values

START_USER_INTERACTION

public static final java.lang.String START_USER_INTERACTION
Command 'ui' to recording a new UserInteraction

See Also:
Constant Field Values

START_TEST_STEP

public static final java.lang.String START_TEST_STEP
Deprecated. since release 0-0-3. Please use instead the command userInteraction ("ui").

See Also:
Constant Field Values
Constructor Detail

CommandLanguage

public CommandLanguage()
Method Detail

stop

public void stop()
Description copied from interface: Commandable
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.

Specified by:
stop in interface Commandable
See Also:
Commandable.stop()

startRecording

public void startRecording()
Description copied from interface: Commandable
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.

Specified by:
startRecording in interface Commandable
See Also:
Commandable.startRecording()

stopRecording

public void stopRecording()
Description copied from interface: Commandable
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.

Specified by:
stopRecording in interface Commandable
See Also:
Commandable.stopRecording()

startRecordingUserInteraction

public void startRecordingUserInteraction()
Description copied from interface: Commandable
Starts recording a new UserInteraction.

Specified by:
startRecordingUserInteraction in interface Commandable
See Also:
de.oio.bugkilla.protocol.Commandable#startRecordingTestStep()


Copyright © Orientation in Objects GmbH. All Rights Reserved.