private static class ProcessServiceTest.TestService extends de.iip_ecosphere.platform.services.environment.AbstractStringProcessService<String,String>
| Modifier | Constructor and Description |
|---|---|
protected |
TestService(de.iip_ecosphere.platform.transport.serialization.TypeTranslator<String,String> inTrans,
de.iip_ecosphere.platform.transport.serialization.TypeTranslator<String,String> outTrans,
de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<String> callback,
de.iip_ecosphere.platform.services.environment.YamlService yaml)
Creates an instance of the service with the required type translators.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
getWaitTimeBeforeDestroy() |
void |
migrate(String resourceId) |
void |
reconfigure(Map<String,String> values) |
protected de.iip_ecosphere.platform.services.environment.ServiceState |
start() |
void |
switchTo(String targetId) |
void |
update(URI location) |
handleInputStream, process, redirectIOactivate, addProcessSpecCmdArg, attachIngestor, attachMetricsProvider, configure, createAndConfigureProcess, createProcess, createProcess, getExecutableName, getExecutableName, getExecutablePrefix, getExecutablePrefix, getExecutableSuffix, getInputTranslator, getOsArch, getOutputTranslator, getPid, getProcessId, getProcessSpec, getServiceIn, getServiceSpec, handleErrorStream, handleOutputStream, notifyCallbacks, passivate, processQuiet, redirectIO, selectNotNull, selectNotNull, setState, stopaddConfigurer, addConfigurer, createInstance, createInstance, createInstance, getDescription, getId, getKind, getName, getState, getVersion, initializeFrom, isDeployable, reconf, reconfigure, rollbackReconfigurationOnFailure, setLibJarsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected TestService(de.iip_ecosphere.platform.transport.serialization.TypeTranslator<String,String> inTrans, de.iip_ecosphere.platform.transport.serialization.TypeTranslator<String,String> outTrans, de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<String> callback, de.iip_ecosphere.platform.services.environment.YamlService yaml)
inTrans - the input translatoroutTrans - the output translatorcallback - called when data from the service is availableyaml - the service descriptionpublic void migrate(String resourceId) throws ExecutionException
ExecutionExceptionpublic void update(URI location) throws ExecutionException
ExecutionExceptionpublic void switchTo(String targetId) throws ExecutionException
ExecutionExceptionpublic void reconfigure(Map<String,String> values) throws ExecutionException
reconfigure in interface de.iip_ecosphere.platform.services.environment.Servicereconfigure in class de.iip_ecosphere.platform.services.environment.AbstractServiceExecutionExceptionprotected int getWaitTimeBeforeDestroy()
protected de.iip_ecosphere.platform.services.environment.ServiceState start()
throws ExecutionException
start in class de.iip_ecosphere.platform.services.environment.AbstractProcessService<String,String,String,String>ExecutionExceptionCopyright © 2022. All rights reserved.