| Modifier and Type | Class and Description |
|---|---|
| public static enum | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final CommandLogger |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public static CommandLogger | |
| public static CommandLogger |
| DISCARDING_LOGGER | back to summary |
|---|---|
| public static final CommandLogger DISCARDING_LOGGER | |
| afterCommandExecuted | back to summary |
|---|---|
| public void afterCommandExecuted(boolean quiet, String cmdline, Optional<Long> pid, Optional<Integer> exitCode, String printableOutput) | |
| beforeCommandExecuted | back to summary |
|---|---|
| public void beforeCommandExecuted(boolean quiet, String cmdline) | |
| create | back to summary |
|---|---|
| public static CommandLogger create(ConsoleLogger sink, boolean printQuietCommands, boolean printResult) | |
| create | back to summary |
|---|---|
| public static CommandLogger create(System. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final CommandLogger. | |
| public static final CommandLogger. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static CommandLogger. | |
| public static CommandLogger. |
| PRINT_COMMAND_RESULT | back to summary |
|---|---|
| public static final CommandLogger. | |
| PRINT_QUIET_COMMANDS | back to summary |
|---|---|
| public static final CommandLogger. | |
| CommandLoggerTrait | back to summary |
|---|---|
| private CommandLoggerTrait() | |
| valueOf | back to summary |
|---|---|
| public static CommandLogger. | |
| values | back to summary |
|---|---|
| public static CommandLogger. | |
| Modifier and Type | Class and Description |
|---|---|
| private static record |
| Access | Constructor and Description |
|---|---|
| private |
| Details | back to summary |
|---|---|
| private Details() | |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | printResult
Record Component accessed by printResult(). |
| private final Consumer | quietCommandSink
Record Component accessed by quietCommandSink(). |
| private final Consumer |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | afterCommandExecuted(boolean quiet, String cmdline, Optional<Long> pid, Optional<Integer> exitCode, String printableOutput)
Implements jdk.
|
| public void | beforeCommandExecuted(boolean quiet, String cmdline)
Implements jdk.
|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public boolean | |
| public Consumer | |
| private Consumer | |
| public Consumer | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| printResult | back to summary |
|---|---|
| private final boolean printResult Record Component accessed by printResult(). | |
| quietCommandSink | back to summary |
|---|---|
| private final Consumer<String> quietCommandSink Record Component accessed by quietCommandSink(). | |
| sink | back to summary |
|---|---|
| private final Consumer<String> sink Record Component accessed by sink(). | |
| DefaultLogger | back to summary |
|---|---|
| pack-priv DefaultLogger(Consumer<String> sink, Consumer<String> quietCommandSink, boolean printResult) | |
| afterCommandExecuted | back to summary |
|---|---|
| public void afterCommandExecuted(boolean quiet, String cmdline, Optional<Long> pid, Optional<Integer> exitCode, String printableOutput) Implements jdk.
| |
| beforeCommandExecuted | back to summary |
|---|---|
| public void beforeCommandExecuted(boolean quiet, String cmdline) Implements jdk.
| |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| printResult | back to summary |
|---|---|
| public boolean printResult() Record Component getter of printResult. | |
| quietCommandSink | back to summary |
|---|---|
| public Consumer Record Component getter of quietCommandSink. | |
| sink | back to summary |
|---|---|
| private Consumer | |
| sink | back to summary |
|---|---|
| public Consumer Record Component getter of sink. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |