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 IntegerbatchSizeDurationbatchTransactionTimeoutIntegerbucketSizestatic IntegerDEFAULT_BATCH_SIZEprotected static DurationDEFAULT_BATCH_TRANSACTION_TIMEOUTstatic IntegerDEFAULT_BUCKET_SIZELongdefaultQueryLimitStringdefaultScrollerBooleanexclusiveBooleanhttpEnabledStringinputStreamprotected booleanisEnabledStringnameBooleansequentialCommandsDeprecated.BooleansequentialProcessingBooleansequentialScrollClass<? 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 IntegergetBatchSize()DurationgetBatchTransactionTimeout()IntegergetBucketSize()LonggetDefaultQueryLimit()StringgetDefaultScroller()StringgetId()The descriptor id, descriptors with same id are merged.StringgetInputStream()booleanisEnabled()BulkActionValidationnewValidationInstance()voidsetEnabled(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:DescriptorThe 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:
getIdin 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()
-
-