Class Executable
java.lang.Object
net.orbyfied.j8.command.AbstractNodeComponent
net.orbyfied.j8.command.component.Executable
- All Implemented Interfaces:
Completable,Functional,Selecting,NodeComponent
A node component which executes code
when a node is walked or executed.
-
Field Summary
Fields inherited from class net.orbyfied.j8.command.AbstractNodeComponent
node -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompleteSelf(Context context, Node from, SuggestionAccumulator suggestions) Should complete the current node string.voidbooleanvoidMethods inherited from class net.orbyfied.j8.command.AbstractNodeComponent
getNodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.orbyfied.j8.command.NodeComponent
getNode
-
Constructor Details
-
Executable
-
-
Method Details
-
setWalkExecutor
-
setExecutor
-
selects
-
walked
- Specified by:
walkedin interfaceFunctional
-
execute
- Specified by:
executein interfaceFunctional
-
completeSelf
Description copied from interface:CompletableShould complete the current node string.- Specified by:
completeSelfin interfaceCompletable- Parameters:
context- The context.from- The node to complete.suggestions- The suggestion builder.
-