|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExecutionMethod
The ExecutionMethod
is an interface for classes that can be used as a
implementation strategy for OperationPM
objects. When
OperationPM.execute()
is called it delegates the call to all
registered ExecutionMethod
s.
An instance created from this class can be registered with a
IOperationPM
using the
OperationPM.addExecutionMethod(ExecutionMethod)
method.
Method Summary | |
---|---|
boolean |
execute()
Performs some action. |
Method Detail |
---|
boolean execute() throws java.lang.Throwable
OperationPM.execute()
. It returns true
if
the action has been successfully performed. It returns false
or
throws an exception if the actions has not been performed successfully and
any subsequent operations should be skipped.
java.lang.Throwable
- if any exception occurs while performing the action
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |