Package net.sf.gridarta.plugin
Class BshThread<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
- java.lang.Object
-
- java.lang.Thread
-
- net.sf.gridarta.plugin.BshThread<G,A,R>
-
- All Implemented Interfaces:
java.lang.Runnable
public class BshThread<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.Thread
A BshThread.- Todo:
- Document this class.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSuccess()
Returns whether the plugin has been executed successfully.void
run()
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Constructor Detail
-
BshThread
public BshThread(@NotNull @NotNull java.lang.String name, @NotNull @NotNull Plugin<G,A,R> plugin, @NotNull @NotNull bsh.Interpreter interpreter)
Creates a new instance.- Parameters:
name
- the name to assign to this threadplugin
- the plugin model for this threadinterpreter
- the interpreter for this thread
-
-