org.sonatype.gshell.command.registry
Interface CommandRegistrar
- All Known Implementing Classes:
- CommandRegistrarImpl, CommandRegistrarSupport
public interface CommandRegistrar
Registers commands.
- Since:
- 2.5
- Author:
- Jason Dillon
DEFAULT_DESCRIPTOR_LOCATION
static final String DEFAULT_DESCRIPTOR_LOCATION
- Since:
- 2.1
- See Also:
- Constant Field Values
registerCommands
void registerCommands()
throws Exception
- Throws:
Exception
registerCommand
void registerCommand(String name,
String type)
throws Exception
- Throws:
Exception
registerCommand
void registerCommand(String type)
throws Exception
- Throws:
Exception
getDescriptorSearchPath
String[] getDescriptorSearchPath()
- Since:
- 2.2
setDescriptorSearchPath
void setDescriptorSearchPath(String... path)
- Since:
- 2.2
getDescriptors
List<CommandSetDescriptor> getDescriptors()
- Since:
- 2.1
Copyright © 2008-2011 Sonatype. All Rights Reserved.