Class BshRunnable<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>

  • All Implemented Interfaces:
    java.lang.Runnable

    public class BshRunnable<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>
    extends java.lang.Object
    implements java.lang.Runnable
    A BshThread.
    Todo:
    Document this class.
    • Constructor Summary

      Constructors 
      Constructor Description
      BshRunnable​(@NotNull Plugin<G,​A,​R> plugin, @NotNull bsh.Interpreter interpreter)
      Creates a new instance.
    • 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.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BshRunnable

        public BshRunnable​(@NotNull
                           @NotNull Plugin<G,​A,​R> plugin,
                           @NotNull
                           @NotNull bsh.Interpreter interpreter)
        Creates a new instance.
        Parameters:
        plugin - the plugin model for this thread
        interpreter - the interpreter for this thread
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • isSuccess

        public boolean isSuccess()
        Returns whether the plugin has been executed successfully.
        Returns:
        whether the plugin has been executed successfully