org.opends.server.types
Class OperationConfig

java.lang.Object
  extended by 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 java.lang.Object

Base for data structures that define configuration for operations.


Constructor Summary
OperationConfig()
           
 
Method Summary
 void cancel()
          Indicates that this operation has been cancelled and the operation if executing should finish as soon as possible.
 boolean isCancelled()
          Indicates whether or not this operation has been cancelled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationConfig

public OperationConfig()
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 or not 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