1.0.0

org.eclipse.soda.dk.testmanager.servlet
Class DeviceTestManagerServlet

java.lang.Object
  extended by DeviceServlet
      extended by org.eclipse.soda.dk.testmanager.servlet.DeviceTestManagerServlet

public class DeviceTestManagerServlet
extends DeviceServlet

Version:
1.0.0

Field Summary
static int CONFIG_CHANGES
          Define the config changes (int) constant.
static java.util.ResourceBundle DefaultResourceBundle
          Define the default resource bundle (ResourceBundle) field.
static int ENDING_SCRIPT_ACTION
          Define the ending script action (int) constant.
static int ERROR_EXECUTING_ACTION
          Define the error executing action (int) constant.
static int ERROR_IN_TEST
          Define the error in test (int) constant.
static int ERROR_IN_TEST_RUN
          Define the error in test run (int) constant.
static int ERROR_RUNNING_SCRIPT
          Define the error running script (int) constant.
static int EXPECTED_ENCODING
          Define the expected encoding (int) constant.
static int FAILED_TO_RUN_SCRIPT
          Define the failed to run script (int) constant.
static int INVALID_HEADER
          Define the invalid header (int) constant.
static int RECEIVED_ENCODING
          Define the received encoding (int) constant.
static int RUNNING
          Define the running (int) constant.
static int RUNNING_TEST_SCRIPT
          Define the running test script (int) constant.
static int STARTING_SCRIPT_ACTION
          Define the starting script action (int) constant.
static int STREAM_CLOSED
          Define the stream closed (int) constant.
static int TEST_CASES
          Define the test cases (int) constant.
static int TEST_COMPLETED
          Define the test completed (int) constant.
static int TEST_FAILED
          Define the test failed (int) constant.
static int TESTS
          Define the tests (int) constant.
static int UNTITLED
          Define the untitled (int) constant.
 
Constructor Summary
DeviceTestManagerServlet()
          Constructs an instance of this class.
 
Method Summary
 DeviceServletContext createContext(HttpServletRequest request, HttpServletResponse response)
          Create context with the specified request and response parameters and return the DeviceServletContext result.
 void processRequest(DeviceServletContext context)
          Process request with the specified context parameter.
 void setTestManager(TestManagerService testManager)
          Sets the test manager value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STREAM_CLOSED

public static final int STREAM_CLOSED
Define the stream closed (int) constant.

See Also:
Constant Field Values

INVALID_HEADER

public static final int INVALID_HEADER
Define the invalid header (int) constant.

See Also:
Constant Field Values

FAILED_TO_RUN_SCRIPT

public static final int FAILED_TO_RUN_SCRIPT
Define the failed to run script (int) constant.

See Also:
Constant Field Values

EXPECTED_ENCODING

public static final int EXPECTED_ENCODING
Define the expected encoding (int) constant.

See Also:
Constant Field Values

RECEIVED_ENCODING

public static final int RECEIVED_ENCODING
Define the received encoding (int) constant.

See Also:
Constant Field Values

ENDING_SCRIPT_ACTION

public static final int ENDING_SCRIPT_ACTION
Define the ending script action (int) constant.

See Also:
Constant Field Values

ERROR_EXECUTING_ACTION

public static final int ERROR_EXECUTING_ACTION
Define the error executing action (int) constant.

See Also:
Constant Field Values

STARTING_SCRIPT_ACTION

public static final int STARTING_SCRIPT_ACTION
Define the starting script action (int) constant.

See Also:
Constant Field Values

CONFIG_CHANGES

public static final int CONFIG_CHANGES
Define the config changes (int) constant.

See Also:
Constant Field Values

TESTS

public static final int TESTS
Define the tests (int) constant.

See Also:
Constant Field Values

TEST_CASES

public static final int TEST_CASES
Define the test cases (int) constant.

See Also:
Constant Field Values

TEST_COMPLETED

public static final int TEST_COMPLETED
Define the test completed (int) constant.

See Also:
Constant Field Values

ERROR_RUNNING_SCRIPT

public static final int ERROR_RUNNING_SCRIPT
Define the error running script (int) constant.

See Also:
Constant Field Values

UNTITLED

public static final int UNTITLED
Define the untitled (int) constant.

See Also:
Constant Field Values

RUNNING_TEST_SCRIPT

public static final int RUNNING_TEST_SCRIPT
Define the running test script (int) constant.

See Also:
Constant Field Values

ERROR_IN_TEST

public static final int ERROR_IN_TEST
Define the error in test (int) constant.

See Also:
Constant Field Values

TEST_FAILED

public static final int TEST_FAILED
Define the test failed (int) constant.

See Also:
Constant Field Values

ERROR_IN_TEST_RUN

public static final int ERROR_IN_TEST_RUN
Define the error in test run (int) constant.

See Also:
Constant Field Values

RUNNING

public static final int RUNNING
Define the running (int) constant.

See Also:
Constant Field Values

DefaultResourceBundle

public static java.util.ResourceBundle DefaultResourceBundle
Define the default resource bundle (ResourceBundle) field.

Constructor Detail

DeviceTestManagerServlet

public DeviceTestManagerServlet()
Constructs an instance of this class.

Method Detail

createContext

public DeviceServletContext createContext(HttpServletRequest request,
                                          HttpServletResponse response)
Create context with the specified request and response parameters and return the DeviceServletContext result. The request (HttpServletRequest) parameter. The response (HttpServletResponse) parameter.

Parameters:
request - The request (HttpServletRequest) parameter.
response - The response (HttpServletResponse) parameter.
Returns:
Results of the create context (DeviceServletContext) value.

processRequest

public void processRequest(DeviceServletContext context)
Process request with the specified context parameter. The context (DeviceServletContext) parameter.

Parameters:
context - The context (DeviceServletContext) parameter.

setTestManager

public void setTestManager(TestManagerService testManager)
Sets the test manager value.

Parameters:
testManager - The test manager (TestManagerService) parameter.

1.0.0

Copyright (c) 2007 IBM