Class DataMinerTesterServiceImpl
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
-
- com.google.gwt.user.server.rpc.RemoteServiceServlet
-
- org.gcube.portlets.user.dataminermanagertester.server.DataMinerTesterServiceImpl
-
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService,com.google.gwt.user.server.rpc.SerializationPolicyProvider,Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig,DataMinerTesterService
public class DataMinerTesterServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements DataMinerTesterService
- Author:
- Giancarlo Panichi
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataMinerTesterServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCapabilities(String token, DMConfig dmConfig)StringgetOperatorsDiff(String token, DMDiffConfig operatorsDiffConfig)UserInfohello(String token)voidinit()TaskStatusmonitorBatchTest(String token, String operationId)org.gcube.data.analysis.dataminermanagercl.shared.process.ComputationStatus.StatusmonitorSimpleTest(String token, DMConfig dmConfig, org.gcube.data.analysis.dataminermanagercl.shared.data.computations.ComputationId computationId)BatchTestResultretrieveOutputForBatchTest(String token, String operationId)StringretrieveOutputForSimpleTest(String token, DMConfig dmConfig, org.gcube.data.analysis.dataminermanagercl.shared.data.computations.ComputationId computationId)StringstartBatchTest(String token, DMBatchConfig dmBatchConfig)org.gcube.data.analysis.dataminermanagercl.shared.data.computations.ComputationIdstartSimpleTest(String token, DMConfig dmConfig)-
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
checkPermutationStrongName, doGetSerializationPolicy, getCodeServerPolicyUrl, getRequestModuleBasePath, getSerializationPolicy, init, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, 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
-
-
-
-
Method Detail
-
init
public void init() throws javax.servlet.ServletException- Overrides:
initin classjavax.servlet.GenericServlet- Throws:
javax.servlet.ServletException
-
hello
public UserInfo hello(String token) throws ServiceException
- Specified by:
helloin interfaceDataMinerTesterService- Throws:
ServiceException
-
getCapabilities
public String getCapabilities(String token, DMConfig dmConfig) throws ServiceException
- Specified by:
getCapabilitiesin interfaceDataMinerTesterService- Throws:
ServiceException
-
getOperatorsDiff
public String getOperatorsDiff(String token, DMDiffConfig operatorsDiffConfig) throws ServiceException
- Specified by:
getOperatorsDiffin interfaceDataMinerTesterService- Throws:
ServiceException
-
startSimpleTest
public org.gcube.data.analysis.dataminermanagercl.shared.data.computations.ComputationId startSimpleTest(String token, DMConfig dmConfig) throws ServiceException
- Specified by:
startSimpleTestin interfaceDataMinerTesterService- Throws:
ServiceException
-
monitorSimpleTest
public org.gcube.data.analysis.dataminermanagercl.shared.process.ComputationStatus.Status monitorSimpleTest(String token, DMConfig dmConfig, org.gcube.data.analysis.dataminermanagercl.shared.data.computations.ComputationId computationId) throws ServiceException
- Specified by:
monitorSimpleTestin interfaceDataMinerTesterService- Throws:
ServiceException
-
retrieveOutputForSimpleTest
public String retrieveOutputForSimpleTest(String token, DMConfig dmConfig, org.gcube.data.analysis.dataminermanagercl.shared.data.computations.ComputationId computationId) throws ServiceException
- Specified by:
retrieveOutputForSimpleTestin interfaceDataMinerTesterService- Throws:
ServiceException
-
startBatchTest
public String startBatchTest(String token, DMBatchConfig dmBatchConfig) throws ServiceException
- Specified by:
startBatchTestin interfaceDataMinerTesterService- Throws:
ServiceException
-
monitorBatchTest
public TaskStatus monitorBatchTest(String token, String operationId) throws ServiceException
- Specified by:
monitorBatchTestin interfaceDataMinerTesterService- Throws:
ServiceException
-
retrieveOutputForBatchTest
public BatchTestResult retrieveOutputForBatchTest(String token, String operationId) throws ServiceException
- Specified by:
retrieveOutputForBatchTestin interfaceDataMinerTesterService- Throws:
ServiceException
-
-