public class TimerEntity extends JobEntity
Modifier and Type | Field and Description |
---|---|
protected Date |
endDate |
protected int |
maxIterations |
protected String |
repeat |
DEFAULT_EXCLUSIVE, DEFAULT_RETRIES, duedate, exceptionByteArrayRef, exceptionMessage, executionId, id, isExclusive, jobHandlerConfiguration, jobHandlerType, jobType, lockExpirationTime, lockOwner, processDefinitionId, processInstanceId, retries, revision, tenantId
Constructor and Description |
---|
TimerEntity() |
TimerEntity(TimerDeclarationImpl timerDeclaration) |
Modifier and Type | Method and Description |
---|---|
protected int |
calculateMaxIterationsValue(String originalExpression) |
protected Date |
calculateNextTimer() |
protected int |
calculateRepeatValue() |
protected int |
checkBoundaryEventsDefinitions(List<ActivityImpl> activities,
String embededActivityId) |
protected int |
checkBoundaryEventsDefinitions(ProcessDefinition def,
String embededActivityId) |
protected int |
checkStartEventDefinitions(ProcessDefinition def,
String embededActivityId) |
void |
execute(CommandContext commandContext) |
protected String |
getBusinessCalendarName(String calendarName) |
Date |
getEndDate() |
String |
getRepeat() |
protected boolean |
isValidTime(Date newTimer) |
protected void |
restoreExtraData(CommandContext commandContext,
String jobHandlerConfiguration) |
void |
setEndDate(Date endDate) |
protected void |
setNewRepeat(int newRepeatValue) |
void |
setRepeat(String repeat) |
delete, getDuedate, getExceptionMessage, getExceptionStacktrace, getExecutionId, getId, getJobHandlerConfiguration, getJobHandlerType, getJobType, getLockExpirationTime, getLockOwner, getPersistentState, getProcessDefinitionId, getProcessInstanceId, getRetries, getRevision, getRevisionNext, getTenantId, insert, isExclusive, setDuedate, setExceptionMessage, setExceptionStacktrace, setExclusive, setExecution, setExecutionId, setId, setJobHandlerConfiguration, setJobHandlerType, setJobType, setLockExpirationTime, setLockOwner, setProcessDefinitionId, setProcessInstanceId, setRetries, setRevision, setTenantId, toString
protected int maxIterations
protected String repeat
protected Date endDate
public TimerEntity()
public TimerEntity(TimerDeclarationImpl timerDeclaration)
public void execute(CommandContext commandContext)
protected void restoreExtraData(CommandContext commandContext, String jobHandlerConfiguration)
protected int checkStartEventDefinitions(ProcessDefinition def, String embededActivityId)
protected int checkBoundaryEventsDefinitions(ProcessDefinition def, String embededActivityId)
protected int checkBoundaryEventsDefinitions(List<ActivityImpl> activities, String embededActivityId)
protected int calculateMaxIterationsValue(String originalExpression)
protected boolean isValidTime(Date newTimer)
protected int calculateRepeatValue()
protected void setNewRepeat(int newRepeatValue)
protected Date calculateNextTimer()
public String getRepeat()
public void setRepeat(String repeat)
public Date getEndDate()
public void setEndDate(Date endDate)
Copyright © 2016 Alfresco. All rights reserved.