|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBOBAction
An interface implementation of an action in BOB Blackberry Client. All actions must implement this interface.
The key method is the run()
method which will execute the action.
Other methods return status of the running thread.
Action
,
Runnable
Method Summary | |
---|---|
void |
finish(boolean success)
This will get called when the action is finished |
boolean |
hasFailed()
Check to see if the action failed |
boolean |
isProcessing()
Checks to see if the action is still processing |
void |
setHasFailed(boolean hasFailed)
Set the action to have succeeded or failed |
void |
setIsProcessing(boolean isProcessing)
Set the boolean value of true or value if the action is processing |
Methods inherited from interface java.lang.Runnable |
---|
run |
Method Detail |
---|
boolean hasFailed()
true
if the action failed otherwise false
void setHasFailed(boolean hasFailed)
hasFailed
- true
if the action failed otherwise false
boolean isProcessing()
true
if the action is current being processed otherwise false
void setIsProcessing(boolean isProcessing)
boolean
value of true
or value if the action is processing
isProcessing
- true
if action is processing else false
void finish(boolean success)
success
- true
if the action succeeded otherwise false
Action
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |