Constructor and Description |
---|
AllNewStrategy() |
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.
|
public boolean isApplicable(Task task)
isApplicable
in interface Strategy
task
- a task