Class Parameter
java.lang.Object
net.orbyfied.j8.command.AbstractNodeComponent
net.orbyfied.j8.command.parameter.Parameter
- All Implemented Interfaces:
Completable,Functional,Selecting,NodeComponent
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected net.orbyfied.j8.registry.Identifierprotected LinkedHashMap<String,Supplier<Object>> protected ParameterType<?>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.voidnet.orbyfied.j8.registry.IdentifiergetType()booleansetIdentifier(net.orbyfied.j8.registry.Identifier id) setType(ParameterType<?> type) voidMethods 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
-
Field Details
-
identifier
protected net.orbyfied.j8.registry.Identifier identifier -
type
-
options
-
-
Constructor Details
-
Parameter
-
-
Method Details
-
setOption
-
setOption
-
setIdentifier
-
getIdentifier
public net.orbyfied.j8.registry.Identifier getIdentifier() -
setType
-
getType
-
walked
- Specified by:
walkedin interfaceFunctional
-
execute
- Specified by:
executein interfaceFunctional
-
selects
-
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.
-