Package net.thevpc.naru.api.registry
Class NaruDirectiveBase.AbstractSubCommand
java.lang.Object
net.thevpc.naru.api.registry.NaruDirectiveBase.AbstractSubCommand
- All Implemented Interfaces:
NaruDirectiveBase.SubCommand
- Enclosing class:
- NaruDirectiveBase
public abstract class NaruDirectiveBase.AbstractSubCommand
extends Object
implements NaruDirectiveBase.SubCommand
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractSubCommand(String name, NText description, NaruDirectiveBase.SubCommandHelp... all) -
Method Summary
Modifier and TypeMethodDescriptionhelp(NaruDirectiveCallContext context) helpOne(NaruDirectiveCallContext context, NText syntax, NText description) name()resolveCandidates(NCmdLine cmdLine, NArgCompletePosition pos, NaruSession session) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.thevpc.naru.api.registry.NaruDirectiveBase.SubCommand
execute
-
Constructor Details
-
AbstractSubCommand
-
AbstractSubCommand
-
-
Method Details
-
description
- Specified by:
descriptionin interfaceNaruDirectiveBase.SubCommand
-
name
- Specified by:
namein interfaceNaruDirectiveBase.SubCommand
-
help
- Specified by:
helpin interfaceNaruDirectiveBase.SubCommand
-
helpOne
-
resolveCandidates
public List<NArgCompleteCandidate> resolveCandidates(NCmdLine cmdLine, NArgCompletePosition pos, NaruSession session) - Specified by:
resolveCandidatesin interfaceNaruDirectiveBase.SubCommand
-