|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface that Enviroments must implement in order to support running commands.
Field Summary | |
static java.lang.String |
NEWLINE
Platform dependent newline char. |
Method Summary | |
void |
exit()
Exit the envronment cleanly. |
void |
exitWithError(java.lang.String message)
Exit the environment with an error. |
com.marklogic.xqrunner.XQDataSource |
getDataSource()
Returns an XQDataSource. |
org.apache.commons.configuration.PropertiesConfiguration |
getProperties()
The configuration properties for the environment. |
void |
print(java.lang.String message)
Prints a message. |
void |
printError(java.lang.Exception exception)
Prints an error that was caused by an exception. |
void |
printError(java.lang.String message)
Prints an error message. |
void |
printHelp()
Prints the default help message. |
void |
printHelp(java.lang.String message)
Prints a message along with the default help message. |
void |
printLine(java.lang.String message)
Prints a message with a line break. |
void |
runXQuery(com.marklogic.xqrunner.XQuery xquery)
Run an XQuery statement. |
Field Detail |
public static final java.lang.String NEWLINE
Method Detail |
public void printHelp()
public void printHelp(java.lang.String message)
message
- public void print(java.lang.String message)
message
- public void printLine(java.lang.String message)
message
- public void printError(java.lang.Exception exception)
exception
- public void printError(java.lang.String message)
message
- public void exit()
public void exitWithError(java.lang.String message)
message
- public void runXQuery(com.marklogic.xqrunner.XQuery xquery)
xquery
- public com.marklogic.xqrunner.XQDataSource getDataSource() throws com.marklogic.xqrunner.XQException
com.marklogic.xqrunner.XQException
public org.apache.commons.configuration.PropertiesConfiguration getProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |