de.oio.bugkilla.splitter
Class UserInteractionServing

java.lang.Object
  |
  +--de.oio.bugkilla.protocol.CommandLanguage
        |
        +--de.oio.bugkilla.splitter.FilterState
              |
              +--de.oio.bugkilla.splitter.UserInteractionServing
All Implemented Interfaces:
CallHandler, Commandable

public class UserInteractionServing
extends FilterState

Author:
cdedek To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.

Field Summary
 
Fields inherited from class de.oio.bugkilla.splitter.FilterState
manager
 
Fields inherited from class de.oio.bugkilla.protocol.CommandLanguage
EXIT_RECORDER, START_RECORDING, START_TEST_STEP, START_USER_INTERACTION, STOP_RECORDING
 
Constructor Summary
UserInteractionServing(FilterManager manager)
          Constructor for UserInteractionServing.
 
Method Summary
 void handleIncomingCall(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
           
 void startRecordingUserInteraction()
          Starts recording a new UserInteraction.
 void stopRecording()
          Stops the recording process of creating new UserInteraction objects added to the current TestSequence.
 
Methods inherited from class de.oio.bugkilla.protocol.CommandLanguage
startRecording, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.oio.bugkilla.protocol.Commandable
startRecording, stop
 

Constructor Detail

UserInteractionServing

public UserInteractionServing(FilterManager manager)
Constructor for UserInteractionServing.

Parameters:
manager -
Method Detail

startRecordingUserInteraction

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

Specified by:
startRecordingUserInteraction in interface Commandable
Overrides:
startRecordingUserInteraction in class CommandLanguage
See Also:
The Filterstate changes to NextUserInteraction and the caller is blocked until the Filterstate has changed to UserInteractionGiven.

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
Overrides:
stopRecording in class CommandLanguage
See Also:
the FilterState changes to LastUserInteraction and the caller is blocked until the Filterstate has changed to Connected.

handleIncomingCall

public void handleIncomingCall(javax.servlet.ServletRequest request,
                               javax.servlet.ServletResponse response,
                               javax.servlet.FilterChain chain)
                        throws java.io.IOException,
                               javax.servlet.ServletException
Specified by:
handleIncomingCall in interface CallHandler
Overrides:
handleIncomingCall in class FilterState
java.io.IOException
javax.servlet.ServletException
See Also:
(ServletRequest, ServletResponse, FilterChain)


Copyright © Orientation in Objects GmbH. All Rights Reserved.