public class DefaultSolverSpecs extends SolverSpecs
DefaultSolverFactory
from where it is accessed and used.passwordHandler, solverModules
Constructor and Description |
---|
DefaultSolverSpecs(org.licas.PasswordHandler thePasswordHandler,
java.util.ArrayList theSolverModules)
Create a new instance of DefaultSolverSpecs.
|
Modifier and Type | Method and Description |
---|---|
ProblemScript |
getProblemScript(java.lang.String solverType)
Get the problem script object related to the current problem type.
|
ProblemScriptParser |
getProblemScriptParser(java.lang.String solverType)
Get the parser to create the problem script from an XML description.
|
java.util.HashMap |
getTestScriptVariableDescriptions()
Get a list of test config script variable descriptions, for display purposes.
|
java.util.ArrayList |
getTestScriptVariables(java.lang.String scriptType)
Get a list of test config script variables, for display purposes.
|
java.util.HashMap |
getTestScriptVariableTypes()
Get a list of test config script heuristic types.
|
java.util.ArrayList |
getTestScriptVarValues(java.lang.String variableType)
Get a list of allowed values for a test script variable.
|
TestSpec |
getTestSpec(java.lang.String solverType)
Get the test specification object related to the current problem type.
|
public DefaultSolverSpecs(org.licas.PasswordHandler thePasswordHandler, java.util.ArrayList theSolverModules)
thePasswordHandler
- the password handler.theSolverModules
- list of solver modules.public TestSpec getTestSpec(java.lang.String solverType)
getTestSpec
in class SolverSpecs
solverType
- the type of test framework to solve the problem.public ProblemScript getProblemScript(java.lang.String solverType)
getProblemScript
in class SolverSpecs
solverType
- the type of test framework to solve the problem.public ProblemScriptParser getProblemScriptParser(java.lang.String solverType)
getProblemScriptParser
in class SolverSpecs
solverType
- the type of test framework to solve the problem.public java.util.ArrayList getTestScriptVariables(java.lang.String scriptType)
getTestScriptVariables
in class SolverSpecs
scriptType
- the type of script part. The default package is covered, for example
TESTRUNSSCRIPT, GRIDHILL, GRIDMATCH, LINKDISTRIBUTED
, but you can add
others to derived classes.public java.util.HashMap getTestScriptVariableTypes()
getTestScriptVariableTypes
in class SolverSpecs
public java.util.HashMap getTestScriptVariableDescriptions()
getTestScriptVariableDescriptions
in class SolverSpecs
public java.util.ArrayList getTestScriptVarValues(java.lang.String variableType)
getTestScriptVarValues
in class SolverSpecs
variableType
- the variable type.