public class WaitExecuteStrategy extends ExecuteStrategy
WaitExecuteStrategy class.
| Constructor and Description |
|---|
WaitExecuteStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExecute(TaskContext context)
canExecute.
|
protected OperationResult |
doExecute2(TaskContext context)
doExecute2.
|
OperationDescription |
getDescription()
getDescription.
|
Operation |
getExecutable()
getExecutable.
|
long |
getWaitTime()
Getter for the field
waitTime. |
boolean |
hasAccess()
hasAccess.
|
void |
setExecutable(Operation executable)
setExecutable.
|
void |
setWaitTime(long waitTime)
Setter for the field
waitTime. |
doExecute, isBusy, releaseBusy, setBusyprotected OperationResult doExecute2(TaskContext context) throws Exception
doExecute2.
doExecute2 in class ExecuteStrategycontext - a TaskContext object.OperationResult object.Exception - if any.public Operation getExecutable()
getExecutable.
getExecutable in class ExecuteStrategyOperation object.public void setExecutable(Operation executable)
setExecutable.
setExecutable in class ExecuteStrategyexecutable - a Operation object.public long getWaitTime()
Getter for the field waitTime.
public void setWaitTime(long waitTime)
Setter for the field waitTime.
waitTime - a long.public OperationDescription getDescription()
getDescription.
OperationDescription object.public boolean canExecute(TaskContext context)
canExecute.
context - a TaskContext object.public boolean hasAccess()
hasAccess.
Copyright © 2016. All Rights Reserved.