Class ListTimersCommand
- java.lang.Object
-
- org.jbpm.kie.services.impl.admin.commands.ListTimersCommand
-
- All Implemented Interfaces:
Serializable,org.kie.api.command.Command<List<TimerInstance>>,org.kie.api.command.ExecutableCommand<List<TimerInstance>>,org.kie.internal.command.ProcessInstanceIdCommand
public class ListTimersCommand extends Object implements org.kie.api.command.ExecutableCommand<List<TimerInstance>>, org.kie.internal.command.ProcessInstanceIdCommand
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListTimersCommand(long processInstanceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TimerInstance>execute(org.kie.api.runtime.Context context)LonggetProcessInstanceId()protected voidprocessNodeInstance(TimerManager tm, NodeInstanceContainer container, List<TimerInstance> timers)protected StringresolveVariable(String s, org.kie.api.runtime.process.NodeInstance pi)voidsetProcessInstanceId(Long procInstId)
-
-
-
Method Detail
-
execute
public List<TimerInstance> execute(org.kie.api.runtime.Context context)
- Specified by:
executein interfaceorg.kie.api.command.ExecutableCommand<List<TimerInstance>>
-
processNodeInstance
protected void processNodeInstance(TimerManager tm, NodeInstanceContainer container, List<TimerInstance> timers)
-
resolveVariable
protected String resolveVariable(String s, org.kie.api.runtime.process.NodeInstance pi)
-
setProcessInstanceId
public void setProcessInstanceId(Long procInstId)
- Specified by:
setProcessInstanceIdin interfaceorg.kie.internal.command.ProcessInstanceIdCommand
-
getProcessInstanceId
public Long getProcessInstanceId()
- Specified by:
getProcessInstanceIdin interfaceorg.kie.internal.command.ProcessInstanceIdCommand
-
-