Enum Verbosity

    • Enum Constant Detail

      • SILENT

        public static final Verbosity SILENT
        Do not print anything to the console.

        public static final Verbosity STANDARD_INFORMATION
        Prints out the bare minimum required information, such as errors from build steps.

        public static final Verbosity BINARY_OUTPUTS
        Print extra output from generated binaries and tests being run, but nothing else.
      • COMMANDS

        public static final Verbosity COMMANDS
        Print the command being executed, but do not print its output.

        public static final Verbosity COMMANDS_AND_SPECIAL_OUTPUT
        Commands plus the output from some select commands of interest.

        public static final Verbosity COMMANDS_AND_OUTPUT
        Print the command being executed followed by its output.
      • ALL

        public static final Verbosity ALL
        If the command being executed has its own --verbose option or equivalent, it should be used.
    • Method Detail

      • values

        public static Verbosity[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Verbosity c : Verbosity.values())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Verbosity valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • isSilent

        public boolean isSilent()
      • shouldPrintStandardInformation

        public boolean shouldPrintStandardInformation()
      • shouldPrintBinaryRunInformation

        public boolean shouldPrintBinaryRunInformation()
      • shouldPrintCommand

        public boolean shouldPrintCommand()
      • shouldPrintSelectCommandOutput

        public boolean shouldPrintSelectCommandOutput()
      • shouldPrintOutput

        public boolean shouldPrintOutput()
      • shouldUseVerbosityFlagIfAvailable

        public boolean shouldUseVerbosityFlagIfAvailable()
        true if the command being executed should use its own --verbose argument (or equivalent) for this Verbosity level