@groovy.transform.CompileStatic class GloopExecutionContext extends java.lang.Object implements java.lang.Cloneable
A class that holds everything related to a currently running gloop service This includes stacktraces, contexts, breakpoints, temporary data that steps use to maintain state, etc.
Type | Name and description |
---|---|
boolean |
abort |
java.util.List<EngineBreakpoint> |
breakpoints |
GloopClassLoader |
classLoader |
java.util.List |
closeables |
java.util.Stack<GloopModel> |
contexts |
boolean |
debug |
java.util.Map<java.lang.Throwable, java.util.List<GloopStackTraceElement>> |
exceptionStackTraces |
java.util.List<GloopStackTraceElement> |
executionHistory |
java.util.Stack<Step> |
executionStack |
io.toro.martini.GroovyCompilerEngine |
groovyCompilerEngine |
java.lang.String |
id |
int |
index |
InvokeGloopInterceptor |
invokeGloopStepInterceptor |
java.util.Map<java.lang.String, java.lang.Object> |
reuseableVariables |
Step |
stepOut |
EngineBreakpoint |
stepTo |
StepType |
stepType |
long |
totalExecutionTime |
Constructor and description |
---|
GloopExecutionContext
() |
GloopExecutionContext
(GloopExecutionContext parent) |
GloopExecutionContext
(GloopModel model) |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
Break(Step step, Step next, GloopExecutionContext context, boolean incrementHitCounter, StepType[] stepTypes) |
|
void |
abort() |
|
void |
addBreakpoint(EngineBreakpoint breakpoint) |
|
void |
addBreakpoint(java.lang.String serviceName, int lineNumber) |
|
void |
addBreakpoint(java.lang.String serviceName, int lineNumber, java.lang.String condition) |
|
void |
addCloseable(java.lang.AutoCloseable closeable) |
|
void |
addException(java.lang.Throwable t) |
|
void |
addProperty(GloopObject property, int index) |
|
void |
addStackTraceElementToExecutionHistory(GloopStackTraceElement gloopStackTraceElement) |
|
void |
addStepToExecutionHistory(Step step, long time) |
|
void |
cleanStepProperties(Step step) |
|
void |
close() |
|
void |
debugOnce(Step step, org.slf4j.Logger logger, java.lang.String key, java.lang.CharSequence message) |
|
void |
destroy() |
|
void |
errorOnce(Step step, org.slf4j.Logger logger, java.lang.String key, java.lang.CharSequence message) |
|
GloopModel |
getCurrentVariableContext() |
|
java.util.List<GloopStackTraceElement> |
getExecutionHistory() |
|
java.util.LinkedList<GloopObject> |
getGloopProperties() |
|
java.lang.Object |
getLogOnceProperty(Step step, java.lang.String name, java.lang.Object defaultValue) |
|
java.util.List<GloopStackTraceElement> |
getStackTrace() |
|
Step |
getStepFromStack(boolean crossServices, java.lang.Class[] StepTypes) |
|
Step |
getStepFromStack() |
|
Step |
getStepFromStack(boolean crossServices, java.lang.String key) |
|
java.lang.Object |
getStepProperty(Step step, java.lang.String name, java.lang.Object defaultValue) |
|
boolean |
hasBreakpoint(Step step, GloopExecutionContext context, boolean incrementHitCounter) |
|
void |
infoOnce(Step step, org.slf4j.Logger logger, java.lang.String key, java.lang.CharSequence message) |
|
void |
insertCloseable(java.lang.AutoCloseable closeable) |
|
boolean |
interrupt() |
|
boolean |
isDestroyed() |
|
boolean |
isFinished() |
|
GloopExecutionContext |
makeChildContext(boolean clone) |
|
GloopModel |
popVariableContext() |
|
void |
pushVariableContext(GloopModel model) |
|
java.lang.Object |
putLogOnceProperty(Step step, java.lang.String name, java.lang.Object value) |
|
java.lang.Object |
putStepProperty(Step step, java.lang.String name, java.lang.Object value) |
|
void |
removeBreakpoint(java.lang.String serviceName, int lineNumber) |
|
java.lang.Object |
removeStepProperty(Step step, java.lang.String name) |
|
protected java.lang.Object |
removeThread() |
|
void |
setStepTo(java.lang.String serviceName, int lineNumber) |
|
void |
setStepTo(Step step, int lineNumber) |
|
void |
setStepTo(int lineNumber) |
|
void |
setStepType(StepType stepType) |
|
protected java.lang.Object |
setThread() |
|
void |
traceOnce(Step step, org.slf4j.Logger logger, java.lang.String key, java.lang.CharSequence message) |
|
void |
warnOnce(Step step, org.slf4j.Logger logger, java.lang.String key, java.lang.CharSequence message) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation