public interface Operation
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Abort the current task.
|
Operation |
resume(RunContext run)
Complete the next step.
|
Operation resume(RunContext run) throws WorldEditException
run
- describes information about the current runWorldEditException
- an errorvoid cancel()
resume(RunContext)
should not be called at any point in the
future. This method should not be called after successful completion of
the operation. This method must be called if the operation is
interrupted before completion.