public abstract class Plugin
extends java.lang.Thread
| Constructor and Description |
|---|
Plugin() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
execute(java.util.ArrayList<org.objectweb.asm.tree.ClassNode> classNodeList)
Whenever the plugin is started, this method is called
|
boolean |
isFinished()
When the plugin is finally finished, this will return true
|
void |
run() |
void |
setFinished()
If for some reason your plugin needs to keep the thread alive, yet will
still be considered finished (EZ-Injection), you can call this function
and it will set the finished boolean to true.
|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic boolean isFinished()
public void setFinished()
public abstract void execute(java.util.ArrayList<org.objectweb.asm.tree.ClassNode> classNodeList)
classNodeList - all of the loaded classes for easy access.