Constructor and Description |
---|
DelegateOperation(Operation original,
Operation delegate)
Create a new operation delegate.
|
Modifier and Type | Method and Description |
---|---|
void |
addStatusMessages(java.util.List<java.lang.String> messages)
Add messages to the provided list that describe the current status
of the operation.
|
void |
cancel()
Abort the current task.
|
Operation |
resume(RunContext run)
Complete the next step.
|
public Operation resume(RunContext run) throws WorldEditException
Operation
resume
in interface Operation
run
- describes information about the current runWorldEditException
- an errorpublic void cancel()
Operation
Operation.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.public void addStatusMessages(java.util.List<java.lang.String> messages)
Operation
addStatusMessages
in interface Operation
messages
- The list to add messages to