Interface MachineCommandInputTranslator.InputCustomizer
- All Known Implementing Classes:
AbstractInformationModelConnectorTest
- Enclosing class:
MachineCommandInputTranslator<O>
public static interface MachineCommandInputTranslator.InputCustomizer
Customizer of this input translator.
- Author:
- Holger Eichelberger, SSE
-
Method Summary
Modifier and TypeMethodDescriptionvoidadditionalFromActions(de.iip_ecosphere.platform.connectors.model.ModelAccess access, MachineCommand data) Performs additional actions duringMachineCommandInputTranslator.from(MachineCommand), e.g., to access structures in the information model.default booleanReturns whether expected exceptions while calling operations shall be asserted.default booleanReturns whether expected exceptions while setting values shall be asserted.Returns the qualified name of the command operation to start the machine.Returns the qualified name of the command operation to stop the machine.default StringReturns the qualified name of the start field.default StringReturns the qualified name of the stop field.Returns the qualified name of the command operation to access the lot size.Returns a valid top-level model part name.
-
Method Details
-
getQNameOperationStartMachine
String getQNameOperationStartMachine()Returns the qualified name of the command operation to start the machine.- Returns:
- the qualified name
-
getQNameOperationStopMachine
String getQNameOperationStopMachine()Returns the qualified name of the command operation to stop the machine.- Returns:
- the qualified name
-
getQNameVarLotSize
String getQNameVarLotSize()Returns the qualified name of the command operation to access the lot size.- Returns:
- the qualified name
-
getTopLevelModelPartName
String getTopLevelModelPartName()Returns a valid top-level model part name.- Returns:
- the name of a valid top-level model part
-
additionalFromActions
void additionalFromActions(de.iip_ecosphere.platform.connectors.model.ModelAccess access, MachineCommand data) throws IOException Performs additional actions duringMachineCommandInputTranslator.from(MachineCommand), e.g., to access structures in the information model.- Parameters:
access- the model access instancedata- the data object being handled- Throws:
IOException- if model access fails
-
assertSetExceptions
default boolean assertSetExceptions()Returns whether expected exceptions while setting values shall be asserted.- Returns:
truefor assert,falseelse
-
assertOperationExceptions
default boolean assertOperationExceptions()Returns whether expected exceptions while calling operations shall be asserted.- Returns:
truefor assert,falseelse
-
getQNameStart
Returns the qualified name of the start field.- Returns:
- the qualified name, null for do not write/access
-
getQNameStop
Returns the qualified name of the stop field.- Returns:
- the qualified name, null for do not write/access
-