Enum Verbosity

    • Enum Constant Detail

      • SILENT

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

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

        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.
      • COMMANDS_AND_SPECIAL_OUTPUT

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

        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())
            System.out.println(c);
        
        Returns:
        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.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        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()
        Returns:
        true if the command being executed should use its own --verbose argument (or equivalent) for this Verbosity level