Class Executable
java.lang.Object
net.orbyfied.j8.command.AbstractNodeComponent
net.orbyfied.j8.command.component.Executable
- All Implemented Interfaces:
Completer,Functional,Primary,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 TypeMethodDescriptionvoidcomplete(Context context, SuggestionAccumulator suggestions, net.orbyfied.j8.util.StringReader reader) Should complete the current node string.voidintpriority()booleanvoidMethods 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
-
priority
public int priority() -
walked
- Specified by:
walkedin interfaceFunctional
-
execute
- Specified by:
executein interfaceFunctional
-
complete
public void complete(Context context, SuggestionAccumulator suggestions, net.orbyfied.j8.util.StringReader reader) Description copied from interface:CompleterShould complete the current node string.
-