public interface Operation
Operation interface.
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExecute(TaskContext context)
canExecute.
|
OperationResult |
doExecute(TaskContext context)
doExecute.
|
OperationDescription |
getDescription()
getDescription.
|
boolean |
hasAccess()
hasAccess.
|
boolean |
isBusy()
isBusy.
|
boolean |
releaseBusy(Object owner)
releaseBusy.
|
boolean |
setBusy(Object owner)
setBusy.
|
boolean hasAccess()
hasAccess.
boolean canExecute(TaskContext context)
canExecute.
context - a TaskContext object.OperationDescription getDescription()
getDescription.
OperationDescription object.OperationResult doExecute(TaskContext context) throws Exception
doExecute.
context - a TaskContext object.OperationResult object.Exception - if any.boolean isBusy()
isBusy.
boolean setBusy(Object owner)
setBusy.
owner - a Object object.Copyright © 2016. All Rights Reserved.