|
|||||||||
| Home >> All >> com >> opencms >> [ core overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.opencms.core
Class CmsShell

java.lang.Objectcom.opencms.core.CmsShell
- All Implemented Interfaces:
- I_CmsConstants
- public class CmsShell
- extends java.lang.Object
- implements I_CmsConstants
- extends java.lang.Object
This class is a commad line interface to OpenCms which can be used for the initial setup and to test the system.
- Version:
- $Revision: 1.75.2.1 $ $Date: 2003/06/16 11:18:43 $
| Field Summary | |
static java.lang.String |
COMMENT_CHAR
Comment Char. |
(package private) java.lang.String |
ecmaPrompt
the prompt for ecmaShell |
protected com.opencms.file.CmsObject |
m_cms
The resource broker to get access to the cms. |
(package private) static boolean |
m_echo
If this member is set to true, all commands are echoed |
(package private) static boolean |
m_exitCalled
m_exitCalled indicates if the 'exit' command has been called |
(package private) boolean |
m_logMemory
If this member is set to true the memory-logging is enabled. |
private OpenCms |
m_openCms
The open-cms. |
(package private) static boolean |
m_shortException
if m_shortException is true then print only the short version of the Exception in the commandshell |
private CmsShellCommands |
shellCommands
|
| Constructor Summary | |
CmsShell()
Creates a new CmsShell-Object. |
|
| Method Summary | |
private void |
call(java.util.Vector command)
Calls a command |
void |
cmsHelp(java.lang.reflect.Method m,
java.lang.String par)
The ecmaScript help-command |
void |
commands(java.io.FileInputStream fis)
The commandlineinterface. |
void |
printEcmaHelpText()
The ecmaScript welcome text |
protected static void |
printException(java.lang.Exception exc)
Prints a exception with the stacktrace. |
protected static void |
printMethod(java.lang.reflect.Method method)
Prints the full name and signature of a method. Called by help-methods. |
private void |
printPrompt()
Prints the current prompt. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
m_cms
protected com.opencms.file.CmsObject m_cms
- The resource broker to get access to the cms.
m_openCms
private OpenCms m_openCms
- The open-cms.
COMMENT_CHAR
public static final java.lang.String COMMENT_CHAR
- Comment Char.
- See Also:
- Constant Field Values
shellCommands
private CmsShellCommands shellCommands
m_echo
static boolean m_echo
- If this member is set to true, all commands are echoed
m_logMemory
boolean m_logMemory
- If this member is set to true the memory-logging is enabled.
m_shortException
static boolean m_shortException
- if m_shortException is true then print only the short version of the Exception in the commandshell
m_exitCalled
static boolean m_exitCalled
- m_exitCalled indicates if the 'exit' command has been called
ecmaPrompt
java.lang.String ecmaPrompt
- the prompt for ecmaShell
| Constructor Detail |
CmsShell
public CmsShell()
- Creates a new CmsShell-Object.
| Method Detail |
call
private void call(java.util.Vector command)
- Calls a command
commands
public void commands(java.io.FileInputStream fis)
- The commandlineinterface.
printEcmaHelpText
public void printEcmaHelpText()
- The ecmaScript welcome text
cmsHelp
public void cmsHelp(java.lang.reflect.Method m, java.lang.String par)
- The ecmaScript help-command
printException
protected static void printException(java.lang.Exception exc)
- Prints a exception with the stacktrace.
printMethod
protected static void printMethod(java.lang.reflect.Method method)
- Prints the full name and signature of a method.
Called by help-methods. Creation date: (09/28/00)
printPrompt
private void printPrompt()
- Prints the current prompt.
Creation date: (10/03/00 %r)
|
|||||||||
| Home >> All >> com >> opencms >> [ core overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.opencms.core.CmsShell