Class TaskScript

  • All Implemented Interfaces:
    Paintable

    public abstract class TaskScript
    extends Script
    • Constructor Detail

      • TaskScript

        public TaskScript()
    • Method Detail

      • onStart

        public abstract boolean onStart()
        Description copied from class: Script
        Called when the script starts. Override for custom behavior.
        Overrides:
        onStart in class Script
      • submit

        public final void submit​(Task... tasks)
      • onProcess

        public int onProcess()
        Description copied from class: Script
        Abstract method to be implemented with the script's main logic.
        Specified by:
        onProcess in class Script