|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectgridbroker.RunConfiguration
A class that handles the file configuration
Constructor Summary | |
RunConfiguration(String filename)
Allocates a new RunConfiguration object |
Method Summary | |
String |
getConfigFileName()
Gets the configuration file name |
int |
getNumResource()
Gets number of resources |
int |
getNumUser()
Gets number of users |
int |
getResourceSamplePoint()
Gets the resource sample point |
int |
getUserSamplePoint()
Gets the user sample point |
boolean |
ReadConfig()
Deprecated. As of GridBroker 2.1, replaced by readConfigFile() |
boolean |
readConfigFile()
Reads the configuration file |
static String |
readString()
Reads a string from the keyboard until the ENTER key is pressed. |
void |
setConfigFileName(String name)
Sets the configuration file name |
void |
setNumResource(int num)
Sets the number of resources |
void |
setNumUser(int num)
Sets number of users |
void |
setResourceSamplePoint(int point)
Sets the resource sample point |
void |
setUserSamplePoint(int point)
Sets the user sample point |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RunConfiguration(String filename)
filename
- the configuration file nameMethod Detail |
public boolean ReadConfig()
readConfigFile()
public boolean readConfigFile()
public static String readString()
public void setConfigFileName(String name)
name
- file namepublic String getConfigFileName()
public void setNumUser(int num)
num
- number of userspublic int getNumUser()
public void setUserSamplePoint(int point)
point
- sample pointpublic int getUserSamplePoint()
public void setNumResource(int num)
num
- number of resourcespublic int getNumResource()
public void setResourceSamplePoint(int point)
point
- sample pointpublic int getResourceSamplePoint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |