|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectUI.GEVAConfig
public class GEVAConfig
Hold all the configuration details for the life-time of the GUI
Method Summary | |
---|---|
static java.lang.String |
getClassName()
Get the name of the main GEVA class |
static java.lang.String |
getClassRelPath()
Get the path to GEVA classes. |
static java.util.Properties |
getCommands()
Get the properties as they were when taken from the command line. |
static java.lang.String |
getConfigAbsPath()
|
static java.lang.String |
getConfigRelPath()
|
static java.lang.String |
getGrammarAbsPath()
|
static java.lang.String |
getGrammarRelPath()
|
static java.lang.String |
getHeapSize()
Get the heap memory to use for GEVA |
static java.lang.String |
getJavaName()
Get the path to GEVA classes. |
static java.util.Properties |
getProperties()
Get the properties as they were when taken from the gui.config |
static java.lang.String |
getPropertiesAbsPath()
|
static java.lang.String |
getPropertiesRelPath()
|
static java.lang.String |
getSelectedPropertiesFile()
Get the properties file that was selected in the GUI last time it was run. |
static java.lang.String |
getWorkingAbsPath()
Get that path used as the current directory when running GEVA, i.e. all paths within GEVA will be relative to this one. |
static boolean |
initialise(java.lang.String[] args)
Initialise the configuration details loading in default values, values from the configuration file, and values from the command line |
static boolean |
isExpert()
Get whether expert mode is on (--expert flag) which prevents the gui from disabling advanced features |
static boolean |
isServer()
Use the server JVM |
static void |
save()
Save the state of all modified configuration values. |
static void |
saveQuiet()
Save and ignore any errors. |
static void |
setClassName(java.lang.String className)
|
static void |
setClassPath(java.lang.String classPath)
|
static void |
setConfigPath(java.lang.String configPath)
|
static void |
setExpert(boolean expert)
|
static void |
setGrammarPath(java.lang.String grammarPath)
|
static void |
setHeapSize(java.lang.String heapSize)
|
static void |
setJavaName(java.lang.String javaName)
|
static void |
setPropertiesPath(java.lang.String configPath)
|
static void |
setSelectedPropertiesFile(java.lang.String selectedPropertiesFile)
|
static void |
setServer()
|
static void |
setWorkingPath(java.lang.String workingAbsPath)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String getSelectedPropertiesFile()
public static void setSelectedPropertiesFile(java.lang.String selectedPropertiesFile)
getSelectedPropertiesFile()
public static java.lang.String getConfigRelPath()
getConfigPath()
public static java.lang.String getConfigAbsPath()
getConfigPath()
public static void setConfigPath(java.lang.String configPath)
getConfigPath()
public static java.lang.String getHeapSize()
public static void setHeapSize(java.lang.String heapSize)
public static boolean isServer()
public static void setServer()
public static java.lang.String getPropertiesRelPath()
getPropertiesPath()
public static java.lang.String getPropertiesAbsPath()
getPropertiesPath()
public static void setPropertiesPath(java.lang.String configPath)
getPropertiesPath()
public static java.lang.String getGrammarRelPath()
getGrammarPath()
public static java.lang.String getGrammarAbsPath()
getGrammarPath()
public static void setGrammarPath(java.lang.String grammarPath)
getGrammarPath()
public static java.lang.String getJavaName()
getWorkingAbsPath()
public static void setJavaName(java.lang.String javaName)
getJavaName()
public static java.lang.String getClassRelPath()
If an absolute path is given, it will be
converted to a relative path
public static void setClassPath(java.lang.String classPath)
getClassRelPath()
public static java.lang.String getClassName()
public static void setClassName(java.lang.String className)
getClassName()
public static java.lang.String getWorkingAbsPath()
public static void setWorkingPath(java.lang.String workingAbsPath)
getWorkingAbsPath()
public static boolean isExpert()
public static void setExpert(boolean expert)
isExpert()
public static boolean initialise(java.lang.String[] args)
args
- Command line arguements
public static java.util.Properties getProperties()
public static java.util.Properties getCommands()
public static void save() throws java.io.IOException
java.io.IOException
public static void saveQuiet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |