|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.netarkivet.deploy.Parameters
public class Parameters
The Parameters class contains the machine parameters. These are the user name, the install directory and the parameters for running the Java applications. These are inherited from the parent entity (e.g. the machine inherits the Parameters from the PhysicalLocation), then overwrites its own specified variables.
Constructor Summary | |
---|---|
Parameters(Parameters parent)
Constructor. |
|
Parameters(XmlStructure root)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getArchiveDatabaseDirValue()
For retrieving the directory for the archive database. |
java.util.List<org.dom4j.Element> |
getClassPaths()
For retrieving the list of class paths. |
java.lang.String |
getHarvestDatabaseDirValue()
For retrieving the directory for the database. |
java.lang.String |
getInstallDirValue()
For retrieving the install directory parameter. |
org.dom4j.Element |
getMachineUserName()
For retrieving the machine user name parameter. |
void |
newParameters(org.dom4j.Element root)
Overwrites the inherited parameters, if the root has new specified. |
java.lang.String |
writeJavaOptions()
Makes all the java options into a single String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Parameters(XmlStructure root) throws ArgumentNotValid
root
- The root of the branch for the parent instance.
This retrieves the variables in the branch.
ArgumentNotValid
- If the root is null.public Parameters(Parameters parent) throws ArgumentNotValid
parent
- The parameters of the parent instance.
ArgumentNotValid
- If the parent is null.Method Detail |
---|
public void newParameters(org.dom4j.Element root) throws ArgumentNotValid
root
- The root of the current instance.
ArgumentNotValid
- If the root is null.public java.lang.String writeJavaOptions()
public java.lang.String getInstallDirValue()
public java.lang.String getHarvestDatabaseDirValue()
public java.lang.String getArchiveDatabaseDirValue()
public org.dom4j.Element getMachineUserName()
public java.util.List<org.dom4j.Element> getClassPaths()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |