public abstract class ConditionalPerformable extends java.lang.Object implements Performable
| Constructor and Description |
|---|
ConditionalPerformable() |
| Modifier and Type | Method and Description |
|---|---|
ConditionalPerformable |
andIfSo(Performable taskToPerform) |
ConditionalPerformable |
otherwise(Performable taskToPerform) |
<T extends Actor> |
performAs(T actor) |
public ConditionalPerformable andIfSo(Performable taskToPerform)
public ConditionalPerformable otherwise(Performable taskToPerform)
public <T extends Actor> void performAs(T actor)
performAs in interface Performable