public enum Verbosity extends Enum<Verbosity>
Enum Constant and Description |
---|
ALL
If the command being executed has its own
--verbose option or equivalent, it should be
used. |
BINARY_OUTPUTS
Print extra output from generated binaries and tests being run, but nothing else.
|
COMMANDS
Print the command being executed, but do not print its output.
|
COMMANDS_AND_OUTPUT
Print the command being executed followed by its output.
|
COMMANDS_AND_SPECIAL_OUTPUT
Commands plus the output from some select commands of interest.
|
SILENT
Do not print anything to the console.
|
STANDARD_INFORMATION
Prints out the bare minimum required information, such as errors from build steps.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSilent() |
boolean |
shouldPrintBinaryRunInformation() |
boolean |
shouldPrintCommand() |
boolean |
shouldPrintOutput() |
boolean |
shouldPrintSelectCommandOutput() |
boolean |
shouldPrintStandardInformation() |
boolean |
shouldUseVerbosityFlagIfAvailable() |
static Verbosity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Verbosity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Verbosity SILENT
public static final Verbosity STANDARD_INFORMATION
public static final Verbosity BINARY_OUTPUTS
public static final Verbosity COMMANDS
public static final Verbosity COMMANDS_AND_SPECIAL_OUTPUT
public static final Verbosity COMMANDS_AND_OUTPUT
public static final Verbosity ALL
--verbose
option or equivalent, it should be
used.public static Verbosity[] values()
for (Verbosity c : Verbosity.values()) System.out.println(c);
public static Verbosity valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isSilent()
public boolean shouldPrintStandardInformation()
public boolean shouldPrintBinaryRunInformation()
public boolean shouldPrintCommand()
public boolean shouldPrintSelectCommandOutput()
public boolean shouldPrintOutput()
public boolean shouldUseVerbosityFlagIfAvailable()
true
if the command being executed should use its own --verbose
argument (or equivalent) for this Verbosity level