Class Console.ConsoleMessage

    • Field Detail

      • serialVersionUID

        🡇     🗕  🗗  🗖
        protected static final long serialVersionUID
        This fulfils the SerialVersion UID requirement for all classes that implement Java's interface java.io.Serializable. Using the Serializable Implementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.
        See Also:
        Constant Field Values
      • source

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.String source
        Message source.

        This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed inside the hilited source code from this class nested helper. Click the link below, and scroll down to find the definition for a ReadOnlyList<String> named 'source$$':

        📎 Console$$ConsoleMessage$$


        Programmatically Accessing the Enum:
        // Retrieve the list of enumerated strings for this field
        ReadOnlyList<String> enumerationStrs = Console.ConsoleMessage.enumStrList("source");
        
        // Print the list of strings to the terminal
        for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
        
        See Also:
        BaseType.enumStrList(String)
      • level

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.String level
        Message severity.

        This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed inside the hilited source code from this class nested helper. Click the link below, and scroll down to find the definition for a ReadOnlyList<String> named 'level$$':

        📎 Console$$ConsoleMessage$$


        Programmatically Accessing the Enum:
        // Retrieve the list of enumerated strings for this field
        ReadOnlyList<String> enumerationStrs = Console.ConsoleMessage.enumStrList("level");
        
        // Print the list of strings to the terminal
        for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
        
        See Also:
        BaseType.enumStrList(String)
      • line

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.Integer line
        Line number in the resource that generated this message (1-based).
        OPTIONAL
      • column

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.Integer column
        Column number in the resource that generated this message (1-based).
        OPTIONAL
    • Constructor Detail

      • ConsoleMessage

        🡅  🡇     🗕  🗗  🗖
        public ConsoleMessage​(ReadOnlyList<java.lang.Boolean> isPresent,
                              java.lang.String source,
                              java.lang.String level,
                              java.lang.String text,
                              java.lang.String url,
                              java.lang.Integer line,
                              java.lang.Integer column)
        Constructor. Please review this class' fields for documentation.