Class DefaultSettingsProblemCollector

    • Field Detail

      • source

        private java.lang.String source
    • Constructor Detail

      • DefaultSettingsProblemCollector

        DefaultSettingsProblemCollector​(java.util.List<SettingsProblem> problems)
    • Method Detail

      • setSource

        public void setSource​(java.lang.String source)
      • add

        public void add​(SettingsProblem.Severity severity,
                        java.lang.String message,
                        int line,
                        int column,
                        java.lang.Exception cause)
        Description copied from interface: SettingsProblemCollector
        Adds the specified problem.
        Specified by:
        add in interface SettingsProblemCollector
        Parameters:
        severity - The severity of the problem, must not be null.
        message - The detail message of the problem, may be null.
        line - The one-based index of the line containing the problem or -1 if unknown.
        column - The one-based index of the column containing the problem or -1 if unknown.
        cause - The cause of the problem, may be null.