public interface

ICommandInterpreter

com.pnfsoftware.jeb.core.units.ICommandInterpreter
Known Indirect Subclasses

Class Overview

A command interpreter. Units may decide to provide command interpreters to offer advanced functionality to clients.

Summary

Public Methods
abstract AutocompletionResult autoComplete(String command)
Provide a best-effort completion suggestion for the provided partial command.
abstract ExecutionResult executeCommand(String command)
Execute a command.
abstract ItemHistory<String> getHistory()
Retrieve the history of this interpreter.
abstract String getName()
Get the name of this interpreter.

Public Methods

public abstract AutocompletionResult autoComplete (String command)

Provide a best-effort completion suggestion for the provided partial command.

public abstract ExecutionResult executeCommand (String command)

Execute a command.

public abstract ItemHistory<String> getHistory ()

Retrieve the history of this interpreter.

public abstract String getName ()

Get the name of this interpreter.