public abstract class SciJavaEvent extends AbstractContextual
Constructor and Description |
---|
SciJavaEvent() |
Modifier and Type | Method and Description |
---|---|
void |
consume() |
String |
dumpStack()
Gets a stack trace for the calling thread when the event was published.
|
Thread |
getCallingThread()
Gets the thread that published the event.
|
StackTraceElement[] |
getStackTrace()
Gets the stack trace of the calling thread when the event was published.
|
boolean |
isConsumed() |
void |
setCallingThread(Thread callingThread)
Sets the thread that published the event.
|
void |
setConsumed(boolean consumed) |
String |
toString() |
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setContext
public boolean isConsumed()
public void setConsumed(boolean consumed)
public void consume()
public Thread getCallingThread()
public void setCallingThread(Thread callingThread)
public StackTraceElement[] getStackTrace()
public String dumpStack()
Copyright © 2015–2022 SciJava. All rights reserved.