I - the input typeO - the output typeprivate static class RtsaRestServiceTest.FakeRtsaRestService<I,O>
extends de.iip_ecosphere.platform.kiServices.rapidminer.rtsa.RtsaRestService<I,O>
| Constructor and Description |
|---|
FakeRtsaRestService(de.iip_ecosphere.platform.transport.serialization.TypeTranslator<I,String> inTrans,
de.iip_ecosphere.platform.transport.serialization.TypeTranslator<String,O> outTrans,
de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<O> callback,
de.iip_ecosphere.platform.services.environment.YamlService yaml)
Creates an instance of the service with the required type translators to/from JSON.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getBaseDir(File rtsaPath) |
protected String |
getClasspath(File rtsaPath) |
protected String |
getMainClass(File rtsaPath) |
adjustRestQuery, adjustRestResponse, getApiPath, getBearerToken, getConfigLocation, getPidFile, getWaitTimeBeforeDestroy, handleInputStream, isFakeRtsa, migrate, reconfigure, start, stop, switchTo, updategetConnection, getNewConnectionInstance, getNewConnectionInstanceQuiet, process, redirectRest, setupConnectionManageraddProcessSpecCmdArg, attachIngestor, attachMetricsProvider, configure, createAndConfigureProcess, createProcess, createProcess, getExecutableName, getExecutableName, getExecutablePrefix, getExecutablePrefix, getExecutableSuffix, getInputTranslator, getOsArch, getOutputTranslator, getPid, getProcessId, getProcessSpec, getServiceIn, getServiceSpec, handleErrorStream, handleOutputStream, notifyCallbacks, processQuiet, redirectIO, selectNotNull, selectNotNull, waitAndDestroy, waitAndDestroyactivate, addConfigurer, addConfigurer, createInstance, createInstance, createInstance, getDescription, getId, getKind, getName, getResourceAsStream, getState, getVersion, initializeFrom, isDeployable, isTopLevel, passivate, reconf, reconfigure, rollbackReconfigurationOnFailure, setLibJars, setStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetUppublic FakeRtsaRestService(de.iip_ecosphere.platform.transport.serialization.TypeTranslator<I,String> inTrans, de.iip_ecosphere.platform.transport.serialization.TypeTranslator<String,O> outTrans, de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<O> callback, de.iip_ecosphere.platform.services.environment.YamlService yaml)
inTrans - the input translatoroutTrans - the output translatorcallback - called when a processed item is received from the serviceyaml - the service descriptionCopyright © 2022. All rights reserved.