|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjitas.util.Settings
public class Settings
Settings class is mainly used to configure the paths to different components of a Tutor. Currently it uses a singleton-style getSettings method for access by other classes.
Method Summary | |
---|---|
java.lang.String |
getAlgorithmFileName(java.lang.String nameOfDomain)
Get the path to the specific domain Problem Selection Algorithm file |
java.lang.String |
getAllDomainsFileName()
Get the name of the file that contains all the domain names |
java.lang.String |
getFeedbackObjectFile(java.lang.String nameOfDomain)
Get the name of the jar containing the custom feedback object |
java.lang.String |
getFullPathToAllDomains()
Get the full path to AllDomains xml file |
static Settings |
getInstance()
Get an instance of a Settings object |
java.lang.String |
getJESSParserFile(java.lang.String nameOfDomain)
Get the name of the jar containing the custom JESSParser object |
java.lang.String |
getRootPath()
Get the root path of where the documents are |
java.lang.String |
getSemanticConstraintsPath(java.lang.String nameOfDomain)
Get the full path to a semantic constraint file of a specific domain |
java.lang.String |
getSemanticConstraintsPath(java.lang.String nameOfDomain,
java.lang.String subDomainName)
Get the full path to a semantic constraint file of a specific domain and subdomain |
java.lang.String |
getStudentFileName()
Gets the global student details file |
java.lang.String |
getStudentModelPath(java.lang.String domainName)
|
java.lang.String |
getStudentModelsFileName()
Get the file name for the student models |
java.lang.String |
getStudentPath()
Gets the global student details file path. |
java.lang.String |
getSyntaxConstraintsPath(java.lang.String nameOfDomain)
Get the full path to a syntax constraint file of a specific domain |
java.lang.String |
getSyntaxConstraintsPath(java.lang.String nameOfDomain,
java.lang.String subDomainName)
Get the full path to a syntax constraint file of a specific domain and subdomain |
void |
setRootPath(java.lang.String s)
Set the root path of all the docs related to the domain |
void |
setStudentFileName(java.lang.String studentFileName)
Sets the global student details file |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Settings getInstance()
public java.lang.String getAllDomainsFileName()
public void setRootPath(java.lang.String s)
s
- The root pathpublic java.lang.String getRootPath()
public java.lang.String getFullPathToAllDomains()
public java.lang.String getSemanticConstraintsPath(java.lang.String nameOfDomain)
nameOfDomain
- The name of the domain which requires its constraint path
public java.lang.String getSyntaxConstraintsPath(java.lang.String nameOfDomain)
nameOfDomain
- The name of the domain which requires its constraint path
public java.lang.String getSemanticConstraintsPath(java.lang.String nameOfDomain, java.lang.String subDomainName)
nameOfDomain
- The name of the domain which requires its constraint pathsubDomainName
- The name of the subdomain
public java.lang.String getSyntaxConstraintsPath(java.lang.String nameOfDomain, java.lang.String subDomainName)
nameOfDomain
- The name of the domain which requires its constraint pathsubDomainName
- The name of the subdomain
public java.lang.String getStudentFileName()
public void setStudentFileName(java.lang.String studentFileName)
studentFileName
- the name of the global student details filepublic java.lang.String getStudentPath()
public java.lang.String getAlgorithmFileName(java.lang.String nameOfDomain)
nameOfDomain
- The name of the domain
public java.lang.String getFeedbackObjectFile(java.lang.String nameOfDomain)
nameOfDomain
- The name of the domain
public java.lang.String getJESSParserFile(java.lang.String nameOfDomain)
nameOfDomain
- The name of the domain
public java.lang.String getStudentModelsFileName()
public java.lang.String getStudentModelPath(java.lang.String domainName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |