Package de.mid.innovator.m2msdk.engine
Class OptionSetter
java.lang.Object
de.mid.innovator.m2msdk.model.transformation.ConfigurableItem
de.mid.innovator.m2msdk.engine.OptionSetter
- All Implemented Interfaces:
EngineInterface,ConfigurableItemIF,IdentifierAble,Serializable,Remote
Class setting options according to the contained parameters.
- Version:
- 11.5.1
- Author:
- jmback
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet name of class.Get the list of all acceptable parameter names.voidrun()The engine is executed.voidsetConfigurationContext(SessionInterface iSession, MetaModel sourceMM, MetaModel targetMM, ConfigurationItemIF iItem) Set the configuration context of this configurable item.voidsetParameter(String iName, String iValue) Set the parameter of the application.voidsetSession(SessionInterface iServer) Set the server session.Methods inherited from class de.mid.innovator.m2msdk.model.transformation.ConfigurableItem
checkConstraints, checkConstraints, getBaseItem, getConfigurableItems, getConfigurationTag, getId, getItem, getName, getParentItem, getParentItem, setBaseItem, setConfigurationTag, setId, setParent, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.mid.innovator.m2msdk.model.transformation.interfaces.ConfigurableItemIF
checkConstraints, checkConstraints, getBaseItem, getConfigurableItems, getConfigurationTag, getItem, getName, getParentItem, getParentItem, setBaseItem, setConfigurationTag, setParentMethods inherited from interface de.mid.innovator.m2msdk.util.IdentifierAble
getId, setId
-
Constructor Details
-
OptionSetter
public OptionSetter()
-
-
Method Details
-
setConfigurationContext
public void setConfigurationContext(SessionInterface iSession, MetaModel sourceMM, MetaModel targetMM, ConfigurationItemIF iItem) throws M2MException, RemoteException Description copied from interface:ConfigurableItemIFSet the configuration context of this configurable item. The configurable item is configured according the context.- Specified by:
setConfigurationContextin interfaceConfigurableItemIF- Overrides:
setConfigurationContextin classConfigurableItem- Parameters:
iSession- sessionsourceMM- source meta modeltargetMM- target meta modeliItem- Configuration item- Throws:
M2MException- generic exceptionRemoteException- exception from remote execution
-
run
Description copied from interface:EngineInterfaceThe engine is executed.- Specified by:
runin interfaceEngineInterface- Throws:
RemoteException
-
setSession
Description copied from interface:EngineInterfaceSet the server session.- Specified by:
setSessionin interfaceEngineInterface- Parameters:
iServer- server session- Throws:
RemoteException
-
getClassname
Description copied from interface:EngineInterfaceGet name of class.- Specified by:
getClassnamein interfaceEngineInterface- Returns:
- class name
- Throws:
RemoteException
-
setParameter
Description copied from interface:EngineInterfaceSet the parameter of the application. The value maybe interpreted by the application during the run.- Specified by:
setParameterin interfaceEngineInterface- Parameters:
iValue- the Value of the parameter
-
getKnownParameters
public ParameterTemplates getKnownParameters(MappingElementIF me, ConfigurationItemIF iItem) throws M2MException, RemoteException Description copied from interface:ConfigurableItemIFGet the list of all acceptable parameter names.- Specified by:
getKnownParametersin interfaceConfigurableItemIF- Overrides:
getKnownParametersin classConfigurableItem- Parameters:
me- mapping element, maybe nulliItem- configuration item, maybe null- Returns:
- list of parameter names
- Throws:
M2MException- generic exceptionRemoteException- error in communicationRemoteException- exception from remote execution
-