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, init
void setDescription(String desc)
String getDescription()
void setName(String name)
String getName()
Component
Session getSession()
Component
getSession
in interface Component
void setUsage(String usage)
String getUsage()
CommandResult execute(Object[] params)
Copyright © 2018. All rights reserved.