|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Command
Provides the basic interface for commands.
| Nested Class Summary | |
|---|---|
static class |
Command.Result
|
| Field Summary | |
|---|---|
static Command.Result |
FAILURE
Standard command failure status code. |
static Command.Result |
SUCCESS
Standard command success status code. |
| Method Summary | |
|---|---|
Object |
execute(Object... args)
Execute the commands behavior. |
void |
init(CommandContext context)
Initialize the command with its execution context. |
| Field Detail |
|---|
static final Command.Result SUCCESS
static final Command.Result FAILURE
| Method Detail |
|---|
void init(CommandContext context)
Object execute(Object... args)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||