public interface I_CmsShellCommands
限定符和类型 | 方法和说明 |
---|---|
void |
initShellCmsObject(CmsObject cms,
CmsShell shell)
Provides access to the shell CmsObject and the shell itself.
|
void |
shellExit()
May be called after shell exit, can e.g. be used to ouput a goodbye message.
|
void |
shellStart()
May be called before shell startup, can e.g. be used to ouput a welcome message.
|
void initShellCmsObject(CmsObject cms, CmsShell shell)
cms
- the shell CmsObjectshell
- the CmsShellvoid shellExit()
Please note: This method is not guaranteed to be called. For a shell that has more then one shell command object initialized, only the exit method of one of thouse will be called.
void shellStart()
Please note: This method is not guaranteed to be called. For a shell that has more then one shell command object initialized, only the start method of one of thouse will be called.