|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jstatcom.engine.EngineTypes com.jstatcom.engine.grte.GRTEType
public final class GRTEType
GRTEType
holds information about the GRTEngine
and works as a factory to create an instance of a GRTE workspace. It is a
Singleton.
Field Summary | |
---|---|
static GRTEType |
INSTANCE
To enforce the Singleton property of this class. |
Fields inherited from class com.jstatcom.engine.EngineTypes |
---|
DIR_NAME, GAUSS, GRTE, MATLAB, MLAB, name, OX, RSTAT, STUB |
Method Summary | |
---|---|
java.lang.String |
checkSettings(ConfigHolder configHolder)
Checks the validity of the configuration for the GRTEngine . |
java.util.Map<java.lang.String,ConfigKeys> |
getConfigKeys()
Gets a map with all config keys for that specific engine. |
Engine |
getEngine()
Gets a concrete implementation of the Engine interface. |
Methods inherited from class com.jstatcom.engine.EngineTypes |
---|
checkConfig, engineIterator, equals, getConfigFile, getConfigPanel, hashCode, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final GRTEType INSTANCE
Method Detail |
---|
public java.lang.String checkSettings(ConfigHolder configHolder)
GRTEngine
.
checkSettings
in class EngineTypes
configHolder
- the config settings to check
null
if ok, error string otherwise
java.lang.IllegalArgumentException
- if (configHolder == null)
EngineTypes
public java.util.Map<java.lang.String,ConfigKeys> getConfigKeys()
EngineTypes
Example:
Implementations of a Foo
engine this class could use:
return ConfigKeys.getAllKeys(FooConfigKeys.class);
where Foo
stands for the name of the engine and
FooConfigKeys
is the engine specific implementation of
ConfigKeys
.
getConfigKeys
in class EngineTypes
Map
containing the ConfigKeys
with
the respective names as keysEngineTypes
public Engine getEngine()
EngineTypes
Engine
interface.
getEngine
in class EngineTypes
EngineTypes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |