com.jstatcom.engine.matlab
Class MatlabEngineType
- java.lang.Object
-
- com.jstatcom.engine.EngineTypes
-
- com.jstatcom.engine.matlab.MatlabEngineType
-
public final class MatlabEngineType extends EngineTypes
Holds information about theMatlabEngine. It is a Singleton.
-
-
Field Summary
Fields Modifier and Type Field and Description static MatlabEngineTypeINSTANCETo enforce the Singleton property of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringcheckSettings(ConfigHolder configHolder)This method should be overwritten by clients, if further checks of the settings have to be specified.java.util.Map<java.lang.String,ConfigKeys>getConfigKeys()Gets a map with all config keys for that specific engine.EnginegetEngine()Gets a concrete implementation of theEngineinterface.-
Methods inherited from class com.jstatcom.engine.EngineTypes
checkConfig, engineIterator, equals, getConfigFile, getConfigPanel, hashCode, toString, valueOf
-
-
-
-
Field Detail
-
INSTANCE
public static final MatlabEngineType INSTANCE
To enforce the Singleton property of this class.
-
-
Method Detail
-
getConfigKeys
public java.util.Map<java.lang.String,ConfigKeys> getConfigKeys()
Description copied from class:EngineTypesGets a map with all config keys for that specific engine.Example:
Implementations of aFooengine this class could use:return ConfigKeys.getAllKeys(FooConfigKeys.class);where
Foostands for the name of the engine andFooConfigKeysis the engine specific implementation ofConfigKeys.- Specified by:
getConfigKeysin classEngineTypes- Returns:
Mapcontaining theConfigKeyswith the respective names as keys
-
checkSettings
public java.lang.String checkSettings(ConfigHolder configHolder)
Description copied from class:EngineTypesThis method should be overwritten by clients, if further checks of the settings have to be specified.- Specified by:
checkSettingsin classEngineTypes- Parameters:
configHolder- the config settings to check- Returns:
nullif ok, error string otherwise
-
getEngine
public Engine getEngine()
Description copied from class:EngineTypesGets a concrete implementation of theEngineinterface.- Specified by:
getEnginein classEngineTypes- Returns:
- engine that is initialized and ready to run
-
-
DMelt 3.0 © DataMelt by jWork.ORG