Enum EmbeddedSass.LogEventType

    • Enum Constant Detail

      • WARNING

        public static final EmbeddedSass.LogEventType WARNING
         A warning for something other than a deprecated Sass feature. Often emitted
         due to a stylesheet using the `@warn` rule.
         
        WARNING = 0;
      • DEPRECATION_WARNING

        public static final EmbeddedSass.LogEventType DEPRECATION_WARNING
         A warning indicating that the stylesheet is using a deprecated Sass
         feature. Compilers should not add text like "deprecation warning" to
         deprecation warnings; it's up to the host to determine how to signal that
         to the user.
         
        DEPRECATION_WARNING = 1;
      • DEBUG

        public static final EmbeddedSass.LogEventType DEBUG
         A message generated by the user for their own debugging purposes.
         
        DEBUG = 2;
    • Field Detail

      • WARNING_VALUE

        public static final int WARNING_VALUE
         A warning for something other than a deprecated Sass feature. Often emitted
         due to a stylesheet using the `@warn` rule.
         
        WARNING = 0;
        See Also:
        Constant Field Values
      • DEPRECATION_WARNING_VALUE

        public static final int DEPRECATION_WARNING_VALUE
         A warning indicating that the stylesheet is using a deprecated Sass
         feature. Compilers should not add text like "deprecation warning" to
         deprecation warnings; it's up to the host to determine how to signal that
         to the user.
         
        DEPRECATION_WARNING = 1;
        See Also:
        Constant Field Values
      • DEBUG_VALUE

        public static final int DEBUG_VALUE
         A message generated by the user for their own debugging purposes.
         
        DEBUG = 2;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static EmbeddedSass.LogEventType[] 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 (EmbeddedSass.LogEventType c : EmbeddedSass.LogEventType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EmbeddedSass.LogEventType 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
      • valueOf

        @Deprecated
        public static EmbeddedSass.LogEventType valueOf​(int value)
        Deprecated.
        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:
        value - 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
      • forNumber

        public static EmbeddedSass.LogEventType forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • valueOf

        public static EmbeddedSass.LogEventType valueOf​(Descriptors.EnumValueDescriptor desc)
        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:
        desc - 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