MCPcopy Create free account
hub / github.com/Beh01der/EasyFlow / trigger

Method trigger

src/main/java/au/com/ds/ef/EasyFlow.java:137–139  ·  view source on GitHub ↗
(final EventEnum event, final C context)

Source from the content-addressed store, hash-verified

135 }
136
137 public void trigger(final EventEnum event, final C context) throws LogicViolationError {
138 trigger(event, false, context);
139 }
140
141 public List<Transition> getAvailableTransitions(StateEnum stateFrom) {
142 return transitions.getTransitions(stateFrom);

Callers 5

safeTriggerMethod · 0.95
callMethod · 0.45
callMethod · 0.45
testGlobalHandlersMethod · 0.45
callMethod · 0.45

Calls 4

executeMethod · 0.95
isTerminatedMethod · 0.80
getTransitionMethod · 0.80
getStateMethod · 0.45

Tested by 4

callMethod · 0.36
callMethod · 0.36
testGlobalHandlersMethod · 0.36
callMethod · 0.36