Class HistoricBatchEntity
java.lang.Object
org.operaton.bpm.engine.impl.history.event.HistoryEvent
org.operaton.bpm.engine.impl.batch.history.HistoricBatchEntity
- All Implemented Interfaces:
Serializable,HistoricBatch,DbEntity,HistoricEntity
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected intprotected Stringprotected Dateprotected Dateprotected intprotected Stringprotected Stringprotected Dateprotected Stringprotected intprotected StringFields inherited from class org.operaton.bpm.engine.impl.history.event.HistoryEvent
ACTIVITY_EVENT_TYPE_END, ACTIVITY_EVENT_TYPE_START, ACTIVITY_EVENT_TYPE_UPDATE, caseDefinitionId, caseDefinitionKey, caseDefinitionName, caseExecutionId, caseInstanceId, eventType, executionId, FORM_PROPERTY_UPDATE, id, IDENTITY_LINK_ADD, IDENTITY_LINK_DELETE, INCIDENT_CREATE, INCIDENT_DELETE, INCIDENT_RESOLVE, processDefinitionId, processDefinitionKey, processDefinitionName, processDefinitionVersion, processInstanceId, removalTime, rootProcessInstanceId, sequenceCounter, TASK_EVENT_TYPE_COMPLETE, TASK_EVENT_TYPE_CREATE, TASK_EVENT_TYPE_DELETE, TASK_EVENT_TYPE_UPDATE, VARIABLE_EVENT_TYPE_CREATE, VARIABLE_EVENT_TYPE_DELETE, VARIABLE_EVENT_TYPE_UPDATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()intintReturns a representation of the object, as would be stored in the database.intgetType()voidsetBatchJobDefinitionId(String batchJobDefinitionId) voidsetBatchJobsPerSeed(int batchJobsPerSeed) voidsetCreateUserId(String createUserId) voidsetEndTime(Date endTime) voidsetExecutionStartTime(Date executionStartTime) voidsetInvocationsPerBatchJob(int invocationsPerBatchJob) voidsetMonitorJobDefinitionId(String monitorJobDefinitionId) voidsetSeedJobDefinitionId(String seedJobDefinitionId) voidsetStartTime(Date startTime) voidsetTenantId(String tenantId) voidsetTotalJobs(int totalJobs) voidMethods inherited from class org.operaton.bpm.engine.impl.history.event.HistoryEvent
getCaseDefinitionId, getCaseDefinitionKey, getCaseDefinitionName, getCaseExecutionId, getCaseInstanceId, getEventType, getExecutionId, getId, getProcessDefinitionId, getProcessDefinitionKey, getProcessDefinitionName, getProcessDefinitionVersion, getProcessInstanceId, getRemovalTime, getRootProcessInstanceId, getSequenceCounter, isEventOfType, setCaseDefinitionId, setCaseDefinitionKey, setCaseDefinitionName, setCaseExecutionId, setCaseInstanceId, setEventType, setExecutionId, setId, setProcessDefinitionId, setProcessDefinitionKey, setProcessDefinitionName, setProcessDefinitionVersion, setProcessInstanceId, setRemovalTime, setRootProcessInstanceId, setSequenceCounter, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.operaton.bpm.engine.batch.history.HistoricBatch
getId, getRemovalTime
-
Field Details
-
type
-
totalJobs
protected int totalJobs -
batchJobsPerSeed
protected int batchJobsPerSeed -
invocationsPerBatchJob
protected int invocationsPerBatchJob -
seedJobDefinitionId
-
monitorJobDefinitionId
-
batchJobDefinitionId
-
tenantId
-
createUserId
-
startTime
-
endTime
-
executionStartTime
-
-
Constructor Details
-
HistoricBatchEntity
public HistoricBatchEntity()
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceHistoricBatch- Returns:
- the type of the batch
-
setType
-
getTotalJobs
public int getTotalJobs()- Specified by:
getTotalJobsin interfaceHistoricBatch- Returns:
- the number of batch execution jobs required to complete the batch
-
setTotalJobs
public void setTotalJobs(int totalJobs) -
getBatchJobsPerSeed
public int getBatchJobsPerSeed()- Specified by:
getBatchJobsPerSeedin interfaceHistoricBatch- Returns:
- number of batch jobs created per batch seed job invocation
-
setBatchJobsPerSeed
public void setBatchJobsPerSeed(int batchJobsPerSeed) -
getInvocationsPerBatchJob
public int getInvocationsPerBatchJob()- Specified by:
getInvocationsPerBatchJobin interfaceHistoricBatch- Returns:
- the number of invocations executed per batch job
-
setInvocationsPerBatchJob
public void setInvocationsPerBatchJob(int invocationsPerBatchJob) -
getSeedJobDefinitionId
- Specified by:
getSeedJobDefinitionIdin interfaceHistoricBatch- Returns:
- the id of the batch seed job definition
-
setSeedJobDefinitionId
-
getMonitorJobDefinitionId
- Specified by:
getMonitorJobDefinitionIdin interfaceHistoricBatch- Returns:
- the id of the batch monitor job definition
-
setMonitorJobDefinitionId
-
getBatchJobDefinitionId
- Specified by:
getBatchJobDefinitionIdin interfaceHistoricBatch- Returns:
- the id of the batch job definition
-
setBatchJobDefinitionId
-
getTenantId
- Specified by:
getTenantIdin interfaceHistoricBatch- Returns:
- the batch's tenant id or null
-
setTenantId
-
getCreateUserId
- Specified by:
getCreateUserIdin interfaceHistoricBatch- Returns:
- the batch creator's user id
-
setCreateUserId
-
getStartTime
- Specified by:
getStartTimein interfaceHistoricBatch- Returns:
- the date the batch was started
-
setStartTime
-
getEndTime
- Specified by:
getEndTimein interfaceHistoricBatch- Returns:
- the date the batch was completed
-
setEndTime
-
getExecutionStartTime
- Specified by:
getExecutionStartTimein interfaceHistoricBatch- Returns:
- the date the batch execution started
-
setExecutionStartTime
-
getPersistentState
Description copied from interface:DbEntityReturns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
getPersistentStatein interfaceDbEntity- Overrides:
getPersistentStatein classHistoryEvent
-
delete
public void delete()
-