public class ListTimersCommand extends Object implements org.kie.api.command.ExecutableCommand<List<TimerInstance>>, org.kie.internal.command.ProcessInstanceIdCommand
Constructor and Description |
---|
ListTimersCommand(long processInstanceId) |
Modifier and Type | Method and Description |
---|---|
List<TimerInstance> |
execute(org.kie.api.runtime.Context context) |
Long |
getProcessInstanceId() |
protected void |
processNodeInstance(TimerManager tm,
NodeInstanceContainer container,
List<TimerInstance> timers) |
protected String |
resolveVariable(String s,
org.kie.api.runtime.process.NodeInstance pi) |
void |
setProcessInstanceId(Long procInstId) |
public List<TimerInstance> execute(org.kie.api.runtime.Context context)
execute
in interface org.kie.api.command.ExecutableCommand<List<TimerInstance>>
protected void processNodeInstance(TimerManager tm, NodeInstanceContainer container, List<TimerInstance> timers)
protected String resolveVariable(String s, org.kie.api.runtime.process.NodeInstance pi)
public void setProcessInstanceId(Long procInstId)
setProcessInstanceId
in interface org.kie.internal.command.ProcessInstanceIdCommand
public Long getProcessInstanceId()
getProcessInstanceId
in interface org.kie.internal.command.ProcessInstanceIdCommand
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.