public class FerretConfig extends IOSPDocument
Constructor and Description |
---|
FerretConfig() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseDir()
Get the base resource directory for LAS which the contains the Ferret config and other resources.
|
java.lang.String |
getDataDir()
Get the data directory attribute for this Ferret invoker.
|
java.util.HashMap<java.lang.String,java.lang.String> |
getEnvironment()
Returns the Ferret environment.
|
java.lang.String |
getFerret()
Returns the path to the Ferret executable.
|
java.lang.String |
getIOSPBaseDir()
Get the base resource directory which the contains the Ferret config and other resources for the IOSP.
|
java.lang.String |
getIOSPDataDir()
Get the data directory attribute for this IOSP.
|
java.lang.String |
getIOSPScriptDir()
Returns the directory where the Ferret scripts specifically for the IOSP are stored.
|
java.lang.String |
getIOSPTempDir()
Returns the directory path for the temporary directory for the ISOP.
|
java.lang.String |
getScriptDir()
Returns the directory where the Ferret scripts for LAS are stored.
|
java.lang.String |
getTempDir()
Returns the directory path for the temporary directory for this Ferret invoker.
|
long |
getTimeLimit()
Return the time limit in milliseconds for how long Ferret should be allowed to run on one invocation.
|
boolean |
getUseNice()
Boolean to determine if Ferret should be "niced down" when invoked.
|
void |
setBaseDir(java.lang.String dir)
Set the path to the base_dir use by LAS.
|
void |
setIOSPBaseDir(java.lang.String dir)
Set the path to the iosp_base_dir used by the IOSP.
|
getElementByXPath, toCompactString, toEncodedJavaScriptSafeURLString, toEncodedURLString, toJavaScriptSafeString, toString, toString, write, write
addContent, addContent, addContent, addContent, clone, cloneContent, detachRootElement, equals, getBaseURI, getContent, getContent, getContent, getContentSize, getDescendants, getDescendants, getDocType, getDocument, getParent, getProperty, getRootElement, hashCode, hasRootElement, indexOf, removeContent, removeContent, removeContent, removeContent, setBaseURI, setContent, setContent, setContent, setContent, setDocType, setProperty, setRootElement
public java.util.HashMap<java.lang.String,java.lang.String> getEnvironment() throws IOSPException
<variable> <name>FER_GO</name> <value>.</value> <value>/home/porter/tmap/ferret/tmap_go</value> <value>/home/porter/tmap/ferret/x86_64-linux/contrib</value> <value>/home/porter/tmap/ferret/x86_64-linux/examples</value> <value>/home/porter/tmap/ferret/x86_64-linux/go</value> <value>jnls</value> <value>jnls/insitu</value> <value>jnls/section</value> <value>scripts</value> </variable>
IOSPException
- if the base_dir is not a full path (i.e. does not start with a "/").java.lang.Exception
public java.lang.String getIOSPBaseDir()
public java.lang.String getBaseDir()
public void setIOSPBaseDir(java.lang.String dir)
dir
- the directory to setpublic void setBaseDir(java.lang.String dir)
dir
- the directory to setpublic java.lang.String getIOSPScriptDir()
public java.lang.String getScriptDir()
public java.lang.String getIOSPTempDir()
public java.lang.String getTempDir()
public java.lang.String getIOSPDataDir()
public java.lang.String getDataDir()
public java.lang.String getFerret()
public boolean getUseNice()
public long getTimeLimit()