public interface ActivityPreparation
Modifier and Type | Method and Description |
---|---|
default boolean |
canComplete()
Checks if the activity can complete
|
default boolean |
canStart()
Checks if the activity can be started
|
default int |
prepareCompletion()
Executes functionality to prepare the activity before completion
|
default int |
prepareStart()
Executes functionality to prepare the activity before starting
|
default boolean canStart()
default boolean canComplete()
default int prepareStart() throws java.lang.InterruptedException
Script.onLoop()
java.lang.InterruptedException
- Thrown when execution gets interrupteddefault int prepareCompletion() throws java.lang.InterruptedException
Script.onLoop()
java.lang.InterruptedException
- Thrown when execution gets interrupted