Package org.mycore.frontend.cli
Interface MCRExternalCommandInterface
- All Known Implementing Classes:
MCRAbstractCommands
,MCRAccessCommands
,MCRAccessCtrlCommands
,MCRBatchEditorCommands
,MCRClassification2Commands
,MCRCryptCommands
,MCRDerivateCommands
,MCRGoogleSitemapCommands
,MCRIView2Commands
,MCRLoggingCommands
,MCRMetsCommands
,MCRMODSCommands
,MCRObjectCommands
,MCRSolrCommands
,MCRUserCommands
public interface MCRExternalCommandInterface
This interface is designed to incude external application commands.
- Version:
- $Revision$ $Date: 2009-07-30 15:41:24 +0200 (Thu, 30 Jul 2009) $
- Author:
- Jens Kupferschmidt
-
Method Summary
Modifier and TypeMethodDescriptionReturns the display name of the external commands.The method return the list of possible commands of this class.void
Sets the display name.
-
Method Details
-
getPossibleCommands
ArrayList<MCRCommand> getPossibleCommands()The method return the list of possible commands of this class. Each command has TWO Strings, a String of the user command syntax and a String of the called method.- Returns:
- a command pair ArrayList
-
getDisplayName
String getDisplayName()Returns the display name of the external commands. If the display name has not been set the simple class name is returned- Returns:
- the display name of the external commands
-
setDisplayName
Sets the display name.
-