|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.optimizationservices.oscommon.representationparser.OSgLReader
org.optimizationservices.oscommon.representationparser.OSoLReader
public class OSoLReader
The
Field Summary |
---|
Fields inherited from class org.optimizationservices.oscommon.representationparser.OSgLReader |
---|
m_document |
Constructor Summary | |
---|---|
OSoLReader()
Default constructor. |
|
OSoLReader(boolean validate)
constructor. |
Method Summary | |
---|---|
int |
getConstraintNumber()
Get constraint number. |
java.lang.String |
getContactAddress()
Get the contact address to respond to the requester. |
java.lang.String |
getContactTransportType()
Get the contact transport type to respond to the requester, smtp (for email), osp (for knocking back on the requester), etc. |
java.lang.String[] |
getDirectoriesToDelete()
Get the directories to delete after running the job, which is a string array of paths. |
java.lang.String[] |
getDirectoriesToMake()
Get the directories to make before running the job, which is a string array of paths. |
java.lang.String[] |
getFilesToCreate()
Get the files to create before running the job, which is a string array of paths. |
java.lang.String[] |
getFilesToDelete()
Get the files to delete after running the job, which is a string array of paths. |
double[] |
getInitialVariableValues()
get initial variable values (double[]). |
java.lang.String[] |
getInputFilesToCopyFrom()
Get the input files to copy from before running the job, which is a string array of paths. |
java.lang.String[] |
getInputFilesToCopyTo()
Get the input files to copy to before running the job, which is a string array of paths. |
java.lang.String[] |
getInputFilesToMoveFrom()
Get the input files to move from before running the job, which is a string array of paths. |
java.lang.String[] |
getInputFilesToMoveTo()
Get the input files to move to before running the job, which is a string array of paths. |
java.lang.String |
getInstanceAddress()
Get the instance address to get the instance. |
java.lang.String |
getInstanceLocationType()
Get the instance location type to get the instance. |
java.lang.String |
getInstanceName()
Get instance name. |
java.lang.String[] |
getJobDependencies()
Get the dependencies of the current job, which is a string array of ids of the jobs that have run before the current job. |
java.lang.String |
getJobID()
get the job ID |
double |
getJobMaxTime()
Get the maximum time (in seconds) before the job is terminated. |
java.util.GregorianCalendar |
getJobScheduledStartTime()
Get the scheduled start time for the job. |
java.lang.String |
getLicense()
Get license. |
int |
getObjectiveNumber()
Get objective number. |
OSOption |
getOSOption()
get the standard OSOption, a local interface for storing Optimization Services option. |
java.lang.String |
getOtherOptionDescriptionByName(java.lang.String name)
Get the string value from the other option hash map. |
java.lang.String[] |
getOtherOptionDescriptions()
Get the descriptions of all other options. |
java.lang.String[] |
getOtherOptionNames()
Get the names of all other options. |
int |
getOtherOptionNumber()
Get the number of other options. |
java.util.HashMap |
getOtherOptions()
Get the hash map of other options. |
java.lang.String |
getOtherOptionValueByName(java.lang.String name)
Get the string value from the other option hash map. |
java.lang.String[] |
getOtherOptionValues()
Get the values of all other options. |
java.lang.String[] |
getOutputFilesToCopyFrom()
Get the output files to copy from before running the job, which is a string array of paths. |
java.lang.String[] |
getOutputFilesToCopyTo()
Get the output files to copy to before running the job, which is a string array of paths. |
java.lang.String[] |
getOutputFilesToMoveFrom()
Get the output files to move from before running the job, which is a string array of paths. |
java.lang.String[] |
getOutputFilesToMoveTo()
Get the output files to move to before running the job, which is a string array of paths. |
java.lang.String |
getPassword()
Get the password. |
java.lang.String[] |
getProcessesToKill()
Get the processes to kill after running the job, which is a string array of process names. |
java.lang.String[] |
getRequiredDirectoriesAndFiles()
Get the required directories and files to run the job, which is a string array of paths. |
java.lang.String |
getServiceName()
Get service name. |
java.lang.String |
getServiceType()
Get the service type, which can be: solver, analyzer, scheduler, simulation, registry, modeler, agent |
java.lang.String |
getServiceURI()
Get service uri. |
double |
getSystemMinCPUSpeed()
Get the system minimum cpu speed required to solve the job. |
double |
getSystemMinDiskSpace()
Get the system minimum disk space required to solve the job. |
double |
getSystemMinMemorySize()
Get the system minimum memory size required to solve the job. |
java.lang.String |
getUserName()
Get the userName. |
int |
getVariableNumber()
Get variable number. |
static void |
main(java.lang.String[] argv)
main for test purposes. |
Methods inherited from class org.optimizationservices.oscommon.representationparser.OSgLReader |
---|
getDocument, getRootElement, isValidate, readFile, readString, setDocument, setRootElement, setValidate, writeToFile, writeToSring, writeToStandardOutput |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OSoLReader(boolean validate)
validate
- holds whether the reader should be validating against the schema or not.public OSoLReader()
Method Detail |
---|
public OSOption getOSOption() throws java.lang.Exception
java.lang.Exception
- if there are errors getting the OSOption.public java.lang.String getServiceURI()
public java.lang.String getServiceName()
public java.lang.String getInstanceName()
public java.lang.String getInstanceLocationType()
public java.lang.String getInstanceAddress()
public java.lang.String getJobID()
public java.lang.String getLicense()
public java.lang.String getUserName()
public java.lang.String getPassword()
public java.lang.String getContactTransportType()
public java.lang.String getContactAddress()
public double getSystemMinDiskSpace()
public double getSystemMinMemorySize()
public double getSystemMinCPUSpeed()
public java.lang.String getServiceType()
public double getJobMaxTime()
public java.util.GregorianCalendar getJobScheduledStartTime()
public java.lang.String[] getJobDependencies()
public java.lang.String[] getRequiredDirectoriesAndFiles()
public java.lang.String[] getDirectoriesToMake()
public java.lang.String[] getFilesToCreate()
public java.lang.String[] getInputFilesToCopyFrom()
public java.lang.String[] getInputFilesToCopyTo()
public java.lang.String[] getInputFilesToMoveFrom()
public java.lang.String[] getInputFilesToMoveTo()
public java.lang.String[] getOutputFilesToCopyFrom()
public java.lang.String[] getOutputFilesToCopyTo()
public java.lang.String[] getOutputFilesToMoveFrom()
public java.lang.String[] getOutputFilesToMoveTo()
public java.lang.String[] getFilesToDelete()
public java.lang.String[] getDirectoriesToDelete()
public java.lang.String[] getProcessesToKill()
public int getVariableNumber()
public int getObjectiveNumber()
public int getConstraintNumber()
public double[] getInitialVariableValues()
public java.util.HashMap getOtherOptions()
public int getOtherOptionNumber()
public java.lang.String getOtherOptionValueByName(java.lang.String name)
name
- holds the name of option to get.
public java.lang.String getOtherOptionDescriptionByName(java.lang.String name)
name
- holds the name of option to get.
public java.lang.String[] getOtherOptionNames()
public java.lang.String[] getOtherOptionValues()
public java.lang.String[] getOtherOptionDescriptions()
public static void main(java.lang.String[] argv)
argv
- command line arguments.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |