|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jstatcom.engine.EngineTypes
com.jstatcom.engine.gauss.GaussEngineType
public final class GaussEngineType
GaussEngineType holds information about the
GaussEngine and works as a factory to create an instance of
GAUSS. It is a Singleton.
| Field Summary | |
|---|---|
static GaussEngineType |
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 GaussEngine. |
java.util.Map<java.lang.String,ConfigKeys> |
getConfigKeys()
Gets a map with all config keys for that specific engine. |
AbstractConfigPanel |
getConfigPanel()
Gets the configuration panel for the respective engine. |
Engine |
getEngine()
Gets a concrete implementation of the Engine interface. |
java.io.File |
getTempFile()
Gets a unique temporary file. |
| Methods inherited from class com.jstatcom.engine.EngineTypes |
|---|
checkConfig, engineIterator, equals, getConfigFile, hashCode, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final GaussEngineType INSTANCE
| Method Detail |
|---|
public java.io.File getTempFile()
"jsc". It will automatically be deleted when the VM exits
normally.
java.lang.RuntimeException - if the file could not be createdpublic java.lang.String checkSettings(ConfigHolder configHolder)
GaussEngine.
checkSettings in class EngineTypesconfigHolder - the config settings to check
null if ok, error string otherwise
java.lang.IllegalArgumentException - if (configHolder == null)EngineTypespublic 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 EngineTypesMap containing the ConfigKeys with
the respective names as keysEngineTypespublic AbstractConfigPanel getConfigPanel()
EngineTypes
getConfigPanel in class EngineTypesEngineTypespublic Engine getEngine()
EngineTypesEngine interface.
getEngine in class EngineTypesEngineTypes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||