Uses of Interface
privbot.task.TaskNode
Packages that use TaskNode
Package
Description
-
Uses of TaskNode in privbot.task
Classes in privbot.task that implement TaskNodeModifier and TypeClassDescriptionclassChild<C>Shared base class for child task behaviors owned by aParent.classA task node that holds child nodes and delegates execution using a strategy.classParent<C>Shared parent node that owns a local group ofChildtasks and selects the highest-priority eligible child when it executes.classSimpleNode<C>Abstract convenience base for single-tick task nodes.Methods in privbot.task that return TaskNodeModifier and TypeMethodDescriptionCompositeTaskNode.getActiveNode()Returns the currently active child (the one that last executed), or null.StagedTaskRunner.getActiveNode()The node that ran on the last tick, or null when that tick was idle.TaskNodeRunner.getActiveNode()Returns the currently active node (the one that last executed), or null.TaskNodeRunner.selectNode()Finds the highest-priority enabled node whoseshouldExecute(C)returns true, without executing it.Methods in privbot.task that return types with arguments of type TaskNodeModifier and TypeMethodDescriptionCompositeTaskNode.getChildren()Returns an unmodifiable view of the children.StagedTaskRunner.getNodes()An unmodifiable snapshot of all nodes, in stage order then registration order.TaskNodeRunner.getNodes()Returns an unmodifiable view of all registered nodes.Methods in privbot.task with parameters of type TaskNodeModifier and TypeMethodDescriptionAdds a child task node.voidStagedTaskRunner.addNode(AutomationStage stage, TaskNode<C> node) Registers a node for a stage.voidRegisters a node.final voidRegisters tasks.booleanTaskNodeRunner.executeNode(TaskNode<C> node) Executes a previously selected node.booleanCompositeTaskNode.removeNode(TaskNode<C> child) Removes a child task node.