public interface Command extends Component
| Modifier and Type | Method and Description |
|---|---|
CommandResult |
execute(Object[] params) |
String |
getDescription() |
String |
getName()
Returns a name for the component.
|
Session |
getSession()
Returns the Session used to initialize this Component.
|
String |
getUsage() |
void |
setDescription(String desc) |
void |
setName(String name) |
void |
setUsage(String usage) |
destroy, getParameters, initvoid setDescription(String desc)
String getDescription()
void setName(String name)
String getName()
ComponentSession getSession()
ComponentgetSession in interface Componentvoid setUsage(String usage)
String getUsage()
CommandResult execute(Object[] params)
Copyright © 2018. All rights reserved.