summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/cli/ICommand.java
blob: 681986d10d657f7d76a80b5939f81b6e0a6383ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package bjc.utils.cli;

/**
 * Represents a command that can be invoked from a {@link ICommandMode}
 * 
 * @author ben
 *
 */
public interface ICommand {
	/**
	 * Get the handler that executes this command
	 * 
	 * @return The handler that executes this command
	 */
	public ICommandHandler getHandler();

	/**
	 * Get the help entry for this command
	 * 
	 * @return The help entry for this command
	 */
	public ICommandHelp getHelp();
}