Class MachineCommandInputTranslator<O>
java.lang.Object
de.iip_ecosphere.platform.connectors.types.AbstractConnectorInputTypeTranslator<MachineCommand,O>
test.de.iip_ecosphere.platform.connectors.MachineCommandInputTranslator<O>
- Type Parameters:
O- the output datatype
- All Implemented Interfaces:
de.iip_ecosphere.platform.connectors.model.ModelAccessProvider,de.iip_ecosphere.platform.connectors.types.ConnectorInputTypeTranslator<MachineCommand,,O> de.iip_ecosphere.platform.transport.serialization.InputTypeTranslator<MachineCommand,O>
public class MachineCommandInputTranslator<O>
extends de.iip_ecosphere.platform.connectors.types.AbstractConnectorInputTypeTranslator<MachineCommand,O>
The machine command input translator for information-model based tests.
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceCustomizer of this input translator.Nested classes/interfaces inherited from interface de.iip_ecosphere.platform.connectors.model.ModelAccessProvider
de.iip_ecosphere.platform.connectors.model.ModelAccessProvider.IOModelAccessFunction, de.iip_ecosphere.platform.connectors.model.ModelAccessProvider.IOVoidFunction -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionMachineCommandInputTranslator(Class<? extends O> sourceType, MachineCommandInputTranslator.InputCustomizer customizer) Creates a new machine command input translator. -
Method Summary
Methods inherited from class de.iip_ecosphere.platform.connectors.types.AbstractConnectorInputTypeTranslator
getModelAccess, setModelAccess
-
Field Details
-
sourceType
-
customizer
-
-
Constructor Details
-
MachineCommandInputTranslator
public MachineCommandInputTranslator(Class<? extends O> sourceType, MachineCommandInputTranslator.InputCustomizer customizer) Creates a new machine command input translator.- Parameters:
sourceType- the source typecustomizer- the input customizer adapting this class to the specifc tpe
-
-
Method Details
-
from
- Throws:
IOException
-
getSourceType
-
getTargetType
-