public interface

ICommandNode

com.pnfsoftware.jeb.util.interpreter.ICommandNode
Known Indirect Subclasses

Class Overview

A command node, either a handler or a manager.

Summary

Constants
int QUOTES_AS_NORMAL_CHAR Indicate to the parser that quotes should be processed as any other char.
Public Methods
abstract ExecutionResult execute(List<InputToken> tokens)
Execute the command.
abstract List<ICommandNode> getChildren()
abstract String getHelp()
Retrieve a short help that describes the command
abstract String getName()
Retrieve the name of the command (used to invoke the command)
abstract int getOptions()
abstract ICommandManager getParent()
Retrieve the parent, that is, this node's manager.

Constants

public static final int QUOTES_AS_NORMAL_CHAR

Indicate to the parser that quotes should be processed as any other char. It is the responsibility of the ICommandNode to validate arguments.

Constant Value: 1 (0x00000001)

Public Methods

public abstract ExecutionResult execute (List<InputToken> tokens)

Execute the command.

public abstract List<ICommandNode> getChildren ()

public abstract String getHelp ()

Retrieve a short help that describes the command

public abstract String getName ()

Retrieve the name of the command (used to invoke the command)

public abstract int getOptions ()

public abstract ICommandManager getParent ()

Retrieve the parent, that is, this node's manager.