Class HistoricBatchEntity
- java.lang.Object
-
- org.camunda.bpm.engine.impl.history.event.HistoryEvent
-
- org.camunda.bpm.engine.impl.batch.history.HistoricBatchEntity
-
- All Implemented Interfaces:
java.io.Serializable
,HistoricBatch
,DbEntity
,HistoricEntity
public class HistoricBatchEntity extends HistoryEvent implements HistoricBatch, DbEntity
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
batchJobDefinitionId
protected int
batchJobsPerSeed
protected java.lang.String
createUserId
protected java.util.Date
endTime
protected java.util.Date
executionStartTime
protected java.lang.String
id
protected int
invocationsPerBatchJob
protected java.lang.String
monitorJobDefinitionId
protected java.lang.String
seedJobDefinitionId
protected java.util.Date
startTime
protected java.lang.String
tenantId
protected int
totalJobs
protected java.lang.String
type
-
Fields inherited from class org.camunda.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, 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 Constructor Description HistoricBatchEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
java.lang.String
getBatchJobDefinitionId()
int
getBatchJobsPerSeed()
java.lang.String
getCreateUserId()
java.util.Date
getEndTime()
java.util.Date
getExecutionStartTime()
int
getInvocationsPerBatchJob()
java.lang.String
getMonitorJobDefinitionId()
java.lang.Object
getPersistentState()
Returns a representation of the object, as would be stored in the database.java.lang.String
getSeedJobDefinitionId()
java.util.Date
getStartTime()
java.lang.String
getTenantId()
int
getTotalJobs()
java.lang.String
getType()
void
setBatchJobDefinitionId(java.lang.String batchJobDefinitionId)
void
setBatchJobsPerSeed(int batchJobsPerSeed)
void
setCreateUserId(java.lang.String createUserId)
void
setEndTime(java.util.Date endTime)
void
setExecutionStartTime(java.util.Date executionStartTime)
void
setInvocationsPerBatchJob(int invocationsPerBatchJob)
void
setMonitorJobDefinitionId(java.lang.String monitorJobDefinitionId)
void
setSeedJobDefinitionId(java.lang.String seedJobDefinitionId)
void
setStartTime(java.util.Date startTime)
void
setTenantId(java.lang.String tenantId)
void
setTotalJobs(int totalJobs)
void
setType(java.lang.String type)
-
Methods inherited from class org.camunda.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, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.batch.history.HistoricBatch
getId, getRemovalTime
-
-
-
-
Field Detail
-
id
protected java.lang.String id
-
type
protected java.lang.String type
-
totalJobs
protected int totalJobs
-
batchJobsPerSeed
protected int batchJobsPerSeed
-
invocationsPerBatchJob
protected int invocationsPerBatchJob
-
seedJobDefinitionId
protected java.lang.String seedJobDefinitionId
-
monitorJobDefinitionId
protected java.lang.String monitorJobDefinitionId
-
batchJobDefinitionId
protected java.lang.String batchJobDefinitionId
-
tenantId
protected java.lang.String tenantId
-
createUserId
protected java.lang.String createUserId
-
startTime
protected java.util.Date startTime
-
endTime
protected java.util.Date endTime
-
executionStartTime
protected java.util.Date executionStartTime
-
-
Method Detail
-
getType
public java.lang.String getType()
- Specified by:
getType
in interfaceHistoricBatch
- Returns:
- the type of the batch
-
setType
public void setType(java.lang.String type)
-
getTotalJobs
public int getTotalJobs()
- Specified by:
getTotalJobs
in 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:
getBatchJobsPerSeed
in interfaceHistoricBatch
- Returns:
- number of batch jobs created per batch seed job invocation
-
setBatchJobsPerSeed
public void setBatchJobsPerSeed(int batchJobsPerSeed)
-
getInvocationsPerBatchJob
public int getInvocationsPerBatchJob()
- Specified by:
getInvocationsPerBatchJob
in interfaceHistoricBatch
- Returns:
- the number of invocations executed per batch job
-
setInvocationsPerBatchJob
public void setInvocationsPerBatchJob(int invocationsPerBatchJob)
-
getSeedJobDefinitionId
public java.lang.String getSeedJobDefinitionId()
- Specified by:
getSeedJobDefinitionId
in interfaceHistoricBatch
- Returns:
- the id of the batch seed job definition
-
setSeedJobDefinitionId
public void setSeedJobDefinitionId(java.lang.String seedJobDefinitionId)
-
getMonitorJobDefinitionId
public java.lang.String getMonitorJobDefinitionId()
- Specified by:
getMonitorJobDefinitionId
in interfaceHistoricBatch
- Returns:
- the id of the batch monitor job definition
-
setMonitorJobDefinitionId
public void setMonitorJobDefinitionId(java.lang.String monitorJobDefinitionId)
-
getBatchJobDefinitionId
public java.lang.String getBatchJobDefinitionId()
- Specified by:
getBatchJobDefinitionId
in interfaceHistoricBatch
- Returns:
- the id of the batch job definition
-
setBatchJobDefinitionId
public void setBatchJobDefinitionId(java.lang.String batchJobDefinitionId)
-
getTenantId
public java.lang.String getTenantId()
- Specified by:
getTenantId
in interfaceHistoricBatch
- Returns:
- the batch's tenant id or null
-
setTenantId
public void setTenantId(java.lang.String tenantId)
-
getCreateUserId
public java.lang.String getCreateUserId()
- Specified by:
getCreateUserId
in interfaceHistoricBatch
- Returns:
- the batch creator's user id
-
setCreateUserId
public void setCreateUserId(java.lang.String createUserId)
-
getStartTime
public java.util.Date getStartTime()
- Specified by:
getStartTime
in interfaceHistoricBatch
- Returns:
- the date the batch was started
-
setStartTime
public void setStartTime(java.util.Date startTime)
-
getEndTime
public java.util.Date getEndTime()
- Specified by:
getEndTime
in interfaceHistoricBatch
- Returns:
- the date the batch was completed
-
setEndTime
public void setEndTime(java.util.Date endTime)
-
getExecutionStartTime
public java.util.Date getExecutionStartTime()
- Specified by:
getExecutionStartTime
in interfaceHistoricBatch
- Returns:
- the date the batch execution started
-
setExecutionStartTime
public void setExecutionStartTime(java.util.Date executionStartTime)
-
getPersistentState
public java.lang.Object getPersistentState()
Description copied from interface:DbEntity
Returns 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:
getPersistentState
in interfaceDbEntity
- Overrides:
getPersistentState
in classHistoryEvent
-
delete
public void delete()
-
-