org.drools.guvnor.server
Class TestScenarioServiceServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
              extended by com.google.gwt.user.server.rpc.RemoteServiceServlet
                  extended by org.drools.guvnor.server.TestScenarioServiceServlet
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, TestScenarioService

@Veto
public class TestScenarioServiceServlet
extends com.google.gwt.user.server.rpc.RemoteServiceServlet
implements TestScenarioService

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
perThreadRequest, perThreadResponse
 
Constructor Summary
TestScenarioServiceServlet()
           
 
Method Summary
 SingleScenarioResult runScenario(String packageName, Scenario scenario)
           
 BulkTestRunResult runScenariosInPackage(String packageUUID)
          This should be pretty obvious what it does !
 
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse
 
Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestScenarioServiceServlet

public TestScenarioServiceServlet()
Method Detail

runScenario

public SingleScenarioResult runScenario(String packageName,
                                        Scenario scenario)
                                 throws com.google.gwt.user.client.rpc.SerializationException
Specified by:
runScenario in interface TestScenarioService
Parameters:
packageName - The package name the scenario is to be run in.
scenario - The scenario to run.
Returns:
The scenario, with the results fields populated.
Throws:
com.google.gwt.user.client.rpc.SerializationException

runScenariosInPackage

public BulkTestRunResult runScenariosInPackage(String packageUUID)
                                        throws com.google.gwt.user.client.rpc.SerializationException
Description copied from interface: TestScenarioService
This should be pretty obvious what it does !

Specified by:
runScenariosInPackage in interface TestScenarioService
Throws:
com.google.gwt.user.client.rpc.SerializationException


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.