Package | Description |
---|---|
org.unix4j |
Provides a single class
Unix4j with static methods
serving as entry point to build commands and command chains joining several
commands. |
org.unix4j.builder |
Defines interfaces and implementations used to create a command or a chain of
joined commands.
|
org.unix4j.context |
Contains interfaces and classes defining the
ExecutionContext passed to the
execute
method of commands. |
org.unix4j.unix |
Provides implementations for commands inspired by well known unix commands.
|
Modifier and Type | Method and Description |
---|---|
static Unix4jCommandBuilder |
Unix4j.use(ExecutionContextFactory contextFactory)
Returns a builder that uses the specified factory to create contexts for
command execution.
|
Modifier and Type | Method and Description |
---|---|
ExecutionContextFactory |
DefaultCommandBuilder.getContextFactory()
Returns the context factory used to create contexts for command
execution.
|
Constructor and Description |
---|
DefaultCommandBuilder(ExecutionContextFactory contextFactory)
Constructor using the specified factory to create contexts for command
execution.
|
Modifier and Type | Field and Description |
---|---|
static ExecutionContextFactory |
DefaultExecutionContext.FACTORY
Factory returning a new instance of
DefaultExecutionContext using
the default constructor. |
Constructor and Description |
---|
DefaultUnix4jCommandBuilder(ExecutionContextFactory contextFactory)
Constructor using the specified factory to create contexts for command
execution.
|
Copyright © 2024. All rights reserved.