Package | Description |
---|---|
org.unix4j.builder |
Defines interfaces and implementations used to create a command or a chain of
joined commands.
|
org.unix4j.unix |
Provides implementations for commands inspired by well known unix commands.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultCommandBuilder
Default implementation for a
CommandBuilder . |
Modifier and Type | Method and Description |
---|---|
static <B extends CommandBuilder> |
GenericCommandBuilder.createCommandBuilder(Class<B> commandBuilderInterface,
CommandInterface<? extends Command<?>>... commandFactories)
Returns a new command builder implementing the specified
commandBuilderInterface . |
static <B extends CommandBuilder> |
GenericCommandBuilder.createCommandBuilder(Class<B> commandBuilderInterface,
DefaultCommandBuilder defaultCommandBuilder,
CommandInterface<? extends Command<?>>... commandFactories)
Returns a new command builder implementing the specified
commandBuilderInterface . |
Modifier and Type | Method and Description |
---|---|
CommandBuilder |
CommandBuilder.apply(LineOperation operation)
Adds a new command based on the specified operation and adds it to the
chain of commands held by this builder.
|
CommandBuilder |
DefaultCommandBuilder.apply(LineOperation operation) |
CommandBuilder |
CommandBuilder.join(Command<?> command)
Adds the specified command to the chain of commands held by this builder.
|
CommandBuilder |
DefaultCommandBuilder.join(Command<?> command) |
CommandBuilder |
CommandBuilder.reset()
Resets this command builder to its initial state.
|
CommandBuilder |
DefaultCommandBuilder.reset() |
Modifier and Type | Interface and Description |
---|---|
interface |
Unix4jCommandBuilder
Builder for a unix4j command or a chain of joined commands.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultUnix4jCommandBuilder
Default implementation for
Unix4jCommandBuilder . |
Copyright © 2024. All rights reserved.