Class TaskScript

  • All Implemented Interfaces:
    java.lang.Runnable, java.util.EventListener, PaintListener

    public abstract class TaskScript
    extends AbstractScript
    New replacement for NodeScript. More appropriately named thanks to Harold.

    Created with IntelliJ IDEA. User: NotoriousPP Date: 11/25/2014 Time: 5:05 PM

    • Constructor Detail

      • TaskScript

        public TaskScript()
    • Method Detail

      • addNodes

        public void addNodes​(TaskNode... nodes)
        Add nodes to task list.
        nodes - the nodes
      • removeNodes

        public void removeNodes​(TaskNode... nodes)
        Remove select nodes from task list.
        nodes - the nodes
      • getNodes

        public TaskNode[] getNodes()
        Get task list nodes as an array.
        the task node [ ]
      • getLastTaskNode

        public TaskNode getLastTaskNode()
      • setFailLimit

        public void setFailLimit​(int failLimit)
        Sets the amount the node selector is allowed to fail without stopping the script.

        Any value less than 0 is considered unlimited.

        failLimit - the amount allowed to fail