Package org.opends.server.types
Class OperationConfig
- java.lang.Object
-
- org.opends.server.types.OperationConfig
-
- Direct Known Subclasses:
BackupConfig,LDIFExportConfig,LDIFImportConfig,RestoreConfig
@PublicAPI(stability=VOLATILE, mayInstantiate=true, mayExtend=false, mayInvoke=true) public abstract class OperationConfig extends Object
Base for data structures that define configuration for operations.
-
-
Constructor Summary
Constructors Constructor Description OperationConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()Indicates that this operation has been cancelled and the operation if executing should finish as soon as possible.booleanisCancelled()Indicates whether this operation has been cancelled.
-
-
-
Method Detail
-
cancel
public void cancel()
Indicates that this operation has been cancelled and the operation if executing should finish as soon as possible.
-
isCancelled
public boolean isCancelled()
Indicates whether this operation has been cancelled.- Returns:
- boolean where true indicates that this operation has been cancelled and if currently executing will finish as soon as possible
-
-