Class FlagsUtil


  • public class FlagsUtil
    extends Object
    Class that keep track of different flags from command line to be made available to other validator that cannot easily be passed to.
    • Constructor Detail

      • FlagsUtil

        public FlagsUtil()
    • Method Detail

      • initialize

        public static void initialize()
        Initialize flags to their default states
        Parameters:
        None -
      • setStackPrintingFlag

        public static void setStackPrintingFlag​(boolean flag)
        Set the stackPrintingFlag value
        Parameters:
        flag - The boolean value to set stackPrintingFlag to
      • getStackPrintingFlag

        public static boolean getStackPrintingFlag()
        Get the stackPrintingFlag value
        Parameters:
        None -
        Returns:
        the stackPrintingFlag value
      • setContentValidationFlag

        public static void setContentValidationFlag​(boolean flag)
        Set the contentValidationFlagvalue
        Parameters:
        flag - The boolean value to set contentValidationFlag to
      • getContentValidationFlag

        public static boolean getContentValidationFlag()
        Get the contentValidationFlag value
        Parameters:
        None -
        Returns:
        the contentValidationFlag value
      • setSkipProductValidation

        public static void setSkipProductValidation​(boolean flag)
        Set the skipProductValidation value
        Parameters:
        flag - The boolean value to set skipProductValidation to
      • getSkipProductValidation

        public static boolean getSkipProductValidation()
        Get the skipProductValidation value
        Parameters:
        None -
        Returns:
        the skipProductValidation valueNone
      • setSeverity

        public static void setSeverity​(int level)
        Set the severity value
        Parameters:
        value - The boolean value to set skipProductValidation to
      • getSeverity

        public static ExceptionType getSeverity()
        Get the severity value
        Parameters:
        None -
        Returns:
        the severityType value