public class IterableProcessEventListener extends Object implements org.kie.api.event.process.ProcessEventListener, Iterator<IterableProcessEventListener.TrackedEvent>
Modifier and Type | Class and Description |
---|---|
static class |
IterableProcessEventListener.CachedProcessCompletedEvent |
static class |
IterableProcessEventListener.CachedProcessNodeLeftEvent |
static class |
IterableProcessEventListener.CachedProcessNodeTriggeredEvent |
static class |
IterableProcessEventListener.CachedProcessStartedEvent |
static class |
IterableProcessEventListener.CachedProcessVariableChangedEvent |
static class |
IterableProcessEventListener.TrackedEvent |
Modifier and Type | Field and Description |
---|---|
static String |
AFTER_COMPLETED |
static String |
AFTER_LEFT |
static String |
AFTER_STARTED |
static String |
AFTER_TRIGGERED |
static String |
AFTER_VARIABLE |
static String |
BEFORE_COMPLETED |
static String |
BEFORE_LEFT |
static String |
BEFORE_STARTED |
static String |
BEFORE_TRIGGERED |
static String |
BEFORE_VARIABLE |
Constructor and Description |
---|
IterableProcessEventListener() |
Modifier and Type | Method and Description |
---|---|
void |
afterNodeLeft(org.kie.api.event.process.ProcessNodeLeftEvent event) |
void |
afterNodeTriggered(org.kie.api.event.process.ProcessNodeTriggeredEvent event) |
void |
afterProcessCompleted(org.kie.api.event.process.ProcessCompletedEvent event) |
void |
afterProcessStarted(org.kie.api.event.process.ProcessStartedEvent event) |
void |
afterVariableChanged(org.kie.api.event.process.ProcessVariableChangedEvent event) |
void |
beforeNodeLeft(org.kie.api.event.process.ProcessNodeLeftEvent event) |
void |
beforeNodeTriggered(org.kie.api.event.process.ProcessNodeTriggeredEvent event) |
void |
beforeProcessCompleted(org.kie.api.event.process.ProcessCompletedEvent event) |
void |
beforeProcessStarted(org.kie.api.event.process.ProcessStartedEvent event) |
void |
beforeVariableChanged(org.kie.api.event.process.ProcessVariableChangedEvent event) |
void |
clear() |
IterableProcessEventListener.TrackedEvent |
current() |
boolean |
hasNext() |
IterableProcessEventListener.TrackedEvent |
next() |
void |
printCurrentState() |
void |
printCurrentState(org.slf4j.Logger logger) |
void |
printRemainingEvents() |
void |
printRemainingEvents(org.slf4j.Logger logger) |
void |
remove() |
void |
reset() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
afterSLAViolated, beforeSLAViolated
forEachRemaining
public static final String BEFORE_STARTED
public static final String AFTER_STARTED
public static final String BEFORE_COMPLETED
public static final String AFTER_COMPLETED
public static final String BEFORE_TRIGGERED
public static final String AFTER_TRIGGERED
public static final String BEFORE_LEFT
public static final String AFTER_LEFT
public static final String BEFORE_VARIABLE
public static final String AFTER_VARIABLE
public void beforeProcessStarted(org.kie.api.event.process.ProcessStartedEvent event)
beforeProcessStarted
in interface org.kie.api.event.process.ProcessEventListener
public void afterProcessStarted(org.kie.api.event.process.ProcessStartedEvent event)
afterProcessStarted
in interface org.kie.api.event.process.ProcessEventListener
public void beforeProcessCompleted(org.kie.api.event.process.ProcessCompletedEvent event)
beforeProcessCompleted
in interface org.kie.api.event.process.ProcessEventListener
public void afterProcessCompleted(org.kie.api.event.process.ProcessCompletedEvent event)
afterProcessCompleted
in interface org.kie.api.event.process.ProcessEventListener
public void beforeNodeTriggered(org.kie.api.event.process.ProcessNodeTriggeredEvent event)
beforeNodeTriggered
in interface org.kie.api.event.process.ProcessEventListener
public void afterNodeTriggered(org.kie.api.event.process.ProcessNodeTriggeredEvent event)
afterNodeTriggered
in interface org.kie.api.event.process.ProcessEventListener
public void beforeNodeLeft(org.kie.api.event.process.ProcessNodeLeftEvent event)
beforeNodeLeft
in interface org.kie.api.event.process.ProcessEventListener
public void afterNodeLeft(org.kie.api.event.process.ProcessNodeLeftEvent event)
afterNodeLeft
in interface org.kie.api.event.process.ProcessEventListener
public void beforeVariableChanged(org.kie.api.event.process.ProcessVariableChangedEvent event)
beforeVariableChanged
in interface org.kie.api.event.process.ProcessEventListener
public void afterVariableChanged(org.kie.api.event.process.ProcessVariableChangedEvent event)
afterVariableChanged
in interface org.kie.api.event.process.ProcessEventListener
public boolean hasNext()
hasNext
in interface Iterator<IterableProcessEventListener.TrackedEvent>
public IterableProcessEventListener.TrackedEvent next()
next
in interface Iterator<IterableProcessEventListener.TrackedEvent>
public IterableProcessEventListener.TrackedEvent current()
public void remove()
remove
in interface Iterator<IterableProcessEventListener.TrackedEvent>
public void reset()
public void clear()
public void printCurrentState()
public void printCurrentState(org.slf4j.Logger logger)
public void printRemainingEvents()
public void printRemainingEvents(org.slf4j.Logger logger)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.