| Package | Description |
|---|---|
| org.unix4j.command |
Declares the basic command interface and contains related classes used by
most command implementations.
|
| org.unix4j.operation |
Contains the
LineOperation
interface and the AdHocCommand
implementation facilitating the creation of ad-hoc commands. |
| org.unix4j.processor |
Defines
LineProcessor and
InputProcessor, two interfaces
used for line-by-line input processing, and provides some basic
implementations for both interfaces. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCommand<A extends Arguments<A>>
Abstract base class suitable for most command implementations.
|
interface |
Arguments<A extends Arguments<A>>
Interface implemented by command arguments.
|
interface |
Command<A extends Arguments<A>>
|
class |
JoinedCommand<A extends Arguments<A>>
A composite command joining two commands.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
NoOp.Args
Arguments for NoOp.
|
| Modifier and Type | Method and Description |
|---|---|
static <A extends Arguments<A>> |
JoinedCommand.join(Command<A> first,
Command<?> second) |
| Modifier and Type | Class and Description |
|---|---|
static class |
AdHocCommand.Args
Arguments for
AdHocCommand. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractLineProcessor<A extends Arguments<A>>
Abstract base implementation for
LineProcessor returned by the
execute method of commands constructed with a reference to the command plus
context and output passed to
Command.execute(ExecutionContext, LineProcessor). |
Copyright © 2016. All Rights Reserved.