org.camunda.bpm.engine.impl.jobexecutor
Class TimerDeclarationImpl

java.lang.Object
  extended by org.camunda.bpm.engine.impl.jobexecutor.JobDeclaration<TimerEntity>
      extended by org.camunda.bpm.engine.impl.jobexecutor.TimerDeclarationImpl
All Implemented Interfaces:
Serializable

public class TimerDeclarationImpl
extends JobDeclaration<TimerEntity>

Author:
Tom Baeyens, Daniel Meyer
See Also:
Serialized Form

Field Summary
protected  Expression description
           
protected  String eventScopeActivityId
           
protected  boolean isInterruptingTimer
           
protected  Boolean isParallelMultiInstance
           
protected  String repeat
           
protected  TimerDeclarationType type
           
 
Fields inherited from class org.camunda.bpm.engine.impl.jobexecutor.JobDeclaration
activityId, exclusive, jobConfiguration, jobDefinitionId, jobHandlerConfiguration, jobHandlerType
 
Constructor Summary
TimerDeclarationImpl(Expression expression, TimerDeclarationType type, String jobHandlerType)
           
 
Method Summary
 TimerEntity createTimer(ExecutionEntity execution)
           
 TimerEntity createTimerInstance(ExecutionEntity execution)
           
 TimerEntity createTimerInstanceForParallelMultiInstance(ExecutionEntity execution)
           
 String getEventScopeActivityId()
           
 String getRepeat()
           
 boolean isInterruptingTimer()
           
protected  TimerEntity newJobInstance(ExecutionEntity execution)
           
protected  String prepareRepeat(String dueDate)
           
 void setEventScopeActivityId(String eventScopeActivityId)
           
 void setInterruptingTimer(boolean isInterruptingTimer)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.jobexecutor.JobDeclaration
createJobInstance, getActivityId, getJobConfiguration, getJobDefinitionId, getJobHandlerConfiguration, getJobHandlerType, isExclusive, setActivityId, setExclusive, setJobConfiguration, setJobDefinitionId, setJobHandlerConfiguration, setJobHandlerType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected Expression description

type

protected TimerDeclarationType type

repeat

protected String repeat

isInterruptingTimer

protected boolean isInterruptingTimer

eventScopeActivityId

protected String eventScopeActivityId

isParallelMultiInstance

protected Boolean isParallelMultiInstance
Constructor Detail

TimerDeclarationImpl

public TimerDeclarationImpl(Expression expression,
                            TimerDeclarationType type,
                            String jobHandlerType)
Method Detail

isInterruptingTimer

public boolean isInterruptingTimer()

setInterruptingTimer

public void setInterruptingTimer(boolean isInterruptingTimer)

getRepeat

public String getRepeat()

setEventScopeActivityId

public void setEventScopeActivityId(String eventScopeActivityId)

getEventScopeActivityId

public String getEventScopeActivityId()

newJobInstance

protected TimerEntity newJobInstance(ExecutionEntity execution)
Specified by:
newJobInstance in class JobDeclaration<TimerEntity>

prepareRepeat

protected String prepareRepeat(String dueDate)

createTimerInstance

public TimerEntity createTimerInstance(ExecutionEntity execution)

createTimerInstanceForParallelMultiInstance

public TimerEntity createTimerInstanceForParallelMultiInstance(ExecutionEntity execution)

createTimer

public TimerEntity createTimer(ExecutionEntity execution)


Copyright © 2014 camunda services GmbH. All rights reserved.