Package org.nuxeo.ecm.core.bulk
Class BulkActionDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.core.bulk.BulkActionDescriptor
-
- All Implemented Interfaces:
Descriptor
public class BulkActionDescriptor extends Object implements Descriptor
- Since:
- 10.2
-
-
Field Summary
Fields Modifier and Type Field Description Integer
batchSize
Duration
batchTransactionTimeout
Integer
bucketSize
static Integer
DEFAULT_BATCH_SIZE
protected static Duration
DEFAULT_BATCH_TRANSACTION_TIMEOUT
static Integer
DEFAULT_BUCKET_SIZE
Long
defaultQueryLimit
String
defaultScroller
Boolean
exclusive
Boolean
httpEnabled
String
inputStream
protected boolean
isEnabled
String
name
Boolean
sequentialCommands
Deprecated.Boolean
sequentialProcessing
Boolean
sequentialScroll
Class<? extends BulkActionValidation>
validationClass
-
Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
-
Constructor Summary
Constructors Constructor Description BulkActionDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getBatchSize()
Duration
getBatchTransactionTimeout()
Integer
getBucketSize()
Long
getDefaultQueryLimit()
String
getDefaultScroller()
String
getId()
The descriptor id, descriptors with same id are merged.String
getInputStream()
boolean
isEnabled()
BulkActionValidation
newValidationInstance()
void
setEnabled(boolean isEnabled)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove, merge
-
-
-
-
Field Detail
-
DEFAULT_BUCKET_SIZE
public static final Integer DEFAULT_BUCKET_SIZE
-
DEFAULT_BATCH_SIZE
public static final Integer DEFAULT_BATCH_SIZE
-
DEFAULT_BATCH_TRANSACTION_TIMEOUT
protected static final Duration DEFAULT_BATCH_TRANSACTION_TIMEOUT
-
isEnabled
protected boolean isEnabled
-
name
public String name
-
inputStream
public String inputStream
-
bucketSize
public Integer bucketSize
-
batchSize
public Integer batchSize
-
batchTransactionTimeout
public Duration batchTransactionTimeout
-
httpEnabled
public Boolean httpEnabled
-
sequentialCommands
@Deprecated public Boolean sequentialCommands
Deprecated.
-
sequentialScroll
public Boolean sequentialScroll
-
sequentialProcessing
public Boolean sequentialProcessing
-
exclusive
public Boolean exclusive
-
validationClass
public Class<? extends BulkActionValidation> validationClass
-
defaultScroller
public String defaultScroller
-
defaultQueryLimit
public Long defaultQueryLimit
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:Descriptor
The descriptor id, descriptors with same id are merged.To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden
toString()
for exemple.- Specified by:
getId
in interfaceDescriptor
-
getBucketSize
public Integer getBucketSize()
-
getBatchSize
public Integer getBatchSize()
-
getBatchTransactionTimeout
public Duration getBatchTransactionTimeout()
-
getDefaultQueryLimit
public Long getDefaultQueryLimit()
-
newValidationInstance
public BulkActionValidation newValidationInstance()
- Since:
- 10.10
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean isEnabled)
-
getDefaultScroller
public String getDefaultScroller()
-
getInputStream
public String getInputStream()
-
-