public interface Strategy
Modifier and Type | Method and Description |
---|---|
void |
apply(Task task)
Apply this strategy to a task to which it is applicable.
|
boolean |
isApplicable(Task task)
True if this strategy is applicable to the denoted task.
|
boolean isApplicable(Task task)
task
- a taskvoid apply(Task task)
task
- a task to which the task is applicable.