R - the generic return type for all command signature methods
to support different implementor types; the methods of a
command factory for instance returns a command instance;
command builders can also implement this interface, but their
methods return the builder itself enabling for chained method
invocation to create joined commandspublic static interface Echo.Interface<R> extends CommandInterface<R>
| Modifier and Type | Method and Description |
|---|---|
R |
echo(EchoOptions options,
String... strings)
Writes any of the specified strings, separated by single blank
(
' ') characters to the standard output suppressing the
trailing line ending if the -n option is specified. |
R |
echo(EchoOptions options,
String string)
Writes the specified string followed by a newline character to
the standard output suppressing the trailing line ending if the
-n option is specified. |
R |
echo(String... args)
Writes any of the specified strings, separated by single blank
(
' ') characters to the standard output suppressing the
trailing line ending if the "-n" option is specified. |
R echo(String... args)
' ') characters to the standard output suppressing the
trailing line ending if the "-n" option is specified.args - String arguments defining the options for the command and the
strings to be written to the output. Options can be specified by
acronym (with a leading dash "-") or by long name (with two leading
dashes "--").<R> defined by the implementing class;
the command itself returns no value and writes its result to the
standard output; see class level parameter comments for more
detailsR echo(EchoOptions options, String string)
-n option is specified.options - Options for the echo command.string - A string to be written to standard output.<R> defined by the implementing class;
the command itself returns no value and writes its result to the
standard output; see class level parameter comments for more
detailsR echo(EchoOptions options, String... strings)
' ') characters to the standard output suppressing the
trailing line ending if the -n option is specified.options - Options for the echo command.strings - Strings to be written to standard output, separated by single blank
characters.<R> defined by the implementing class;
the command itself returns no value and writes its result to the
standard output; see class level parameter comments for more
detailsCopyright © 2025. All rights reserved.