Class BackwardsExtentBlockCopy
java.lang.Object
com.sk89q.worldedit.function.visitor.RegionVisitor
com.sk89q.worldedit.function.operation.BackwardsExtentBlockCopy
- All Implemented Interfaces:
Operation
-
Field Summary
Fields inherited from class com.sk89q.worldedit.function.visitor.RegionVisitor
iterableFields inherited from interface com.sk89q.worldedit.function.operation.Operation
warnedDeprecatedClasses -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStatusMessages(List<String> messages) Add messages to the provided list that describe the current status of the operation.voidcancel()Abort the current task.intGet the number of affected objects.resume(RunContext run) Complete the next step.Methods inherited from class com.sk89q.worldedit.function.visitor.RegionVisitor
getStatusMessagesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sk89q.worldedit.function.operation.Operation
getStatusMessages
-
Method Details
-
resume
Description copied from interface:OperationComplete the next step. If this method returns true, then the method may be called again in the future, or possibly never. If this method returns false, then this method should not be called again.- Specified by:
resumein interfaceOperation- Overrides:
resumein classRegionVisitor- Parameters:
run- describes information about the current run- Returns:
- another operation to run that operation again, or null to stop
- Throws:
WorldEditException- an error
-
getAffected
public int getAffected()Description copied from class:RegionVisitorGet the number of affected objects.- Overrides:
getAffectedin classRegionVisitor- Returns:
- the number of affected
-
cancel
public void cancel()Description copied from interface:OperationAbort the current task. After the this method is called,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.- Specified by:
cancelin interfaceOperation- Overrides:
cancelin classRegionVisitor
-
addStatusMessages
Description copied from interface:OperationAdd messages to the provided list that describe the current status of the operation.- Specified by:
addStatusMessagesin interfaceOperation- Parameters:
messages- The list to add messages to
-