Package edu.uiuc.ncsa.security.util.cli
Interface Commands
-
- All Superinterfaces:
Logable
- All Known Implementing Classes:
CommonCommands
,ConfigurableCommandsImpl
,ParserCommands
,SASCommands
,StoreCommands
public interface Commands extends Logable
All sets of commands implement this interface. Each command you want to have found in the interface should fulfill the following contract;
- signature requirement: public void name(
InputLine
- help requirement a protected method, suggested name is "showXHelp" where "X" is the name of the method above
InputLine
.There is no limit to the number or type of command that you may have here.
Creation date: (10/11/02 8:26:14 pm)- Author:
- Jeff Gaynor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
bootstrap()
HelpUtil
getHelpUtil()
IOInterface
getIOInterface()
String
getPrompt()
The prompt displayed to the user.void
print_help()
void
setIOInterface(IOInterface io)
-
-
-
Method Detail
-
getPrompt
String getPrompt()
The prompt displayed to the user. This allows it to change based on context.- Returns:
- java.lang.String
-
getHelpUtil
HelpUtil getHelpUtil()
-
getIOInterface
IOInterface getIOInterface()
-
setIOInterface
void setIOInterface(IOInterface io)
-
-