public interface ApplicationAction
| Modifier and Type | Method and Description |
|---|---|
void |
action()
Real action code.
|
void |
done()
Executed when action ended with success.
|
void |
fail(Exception error)
Executed when action failed.
|
boolean |
prepare()
Before executing the action.
|
boolean prepare()
true if action can be execute, false otherwise.void action()
void done()
void fail(Exception error)
error - failure exceptionCopyright © 2008–2018 Code Lutin. All rights reserved.