Package org.jeasy.batch.core.job
Class JobParameters
- java.lang.Object
-
- org.jeasy.batch.core.job.JobParameters
-
- All Implemented Interfaces:
java.io.Serializable
public class JobParameters extends java.lang.Object implements java.io.SerializableParameters of a job.- Author:
- Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_BATCH_SIZEstatic longDEFAULT_ERROR_THRESHOLDstatic java.lang.StringDEFAULT_JOB_NAME
-
Constructor Summary
Constructors Constructor Description JobParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBatchSize()longgetErrorThreshold()booleanisBatchScanningEnabled()booleanisJmxMonitoring()voidsetBatchScanningEnabled(boolean batchScanningEnabled)voidsetBatchSize(int batchSize)voidsetErrorThreshold(long errorThreshold)voidsetJmxMonitoring(boolean jmxMonitoring)
-
-
-
Field Detail
-
DEFAULT_JOB_NAME
public static final java.lang.String DEFAULT_JOB_NAME
- See Also:
- Constant Field Values
-
DEFAULT_ERROR_THRESHOLD
public static final long DEFAULT_ERROR_THRESHOLD
- See Also:
- Constant Field Values
-
DEFAULT_BATCH_SIZE
public static final int DEFAULT_BATCH_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getErrorThreshold
public long getErrorThreshold()
-
setErrorThreshold
public void setErrorThreshold(long errorThreshold)
-
isJmxMonitoring
public boolean isJmxMonitoring()
-
setJmxMonitoring
public void setJmxMonitoring(boolean jmxMonitoring)
-
getBatchSize
public int getBatchSize()
-
setBatchSize
public void setBatchSize(int batchSize)
-
isBatchScanningEnabled
public boolean isBatchScanningEnabled()
-
setBatchScanningEnabled
public void setBatchScanningEnabled(boolean batchScanningEnabled)
-
-