Class WoolProjectParserResult


  • public class WoolProjectParserResult
    extends Object
    This class contains the result of parsing a WOOL project with the WoolProjectParser.
    • Constructor Detail

      • WoolProjectParserResult

        public WoolProjectParserResult()
    • Method Detail

      • getProject

        public WoolProject getProject()
        Returns the project if parsing succeeded. Otherwise it returns null.
        Returns:
        the project or null
      • setProject

        public void setProject​(WoolProject project)
        Sets the project if parsing succeeded.
        Parameters:
        project - the project
      • getParseErrors

        public Map<String,​List<ParseException>> getParseErrors()
        Returns the parse errors. The keys are the paths to files with parse errors. A value should be a list with 1 or more errors.
        Returns:
        the parse errors
      • setParseErrors

        public void setParseErrors​(Map<String,​List<ParseException>> parseErrors)
        Sets the parse errors. The keys are the paths to files with parse errors. A value should be a list with 1 or more errors.
        Parameters:
        parseErrors - the parse errors
      • getWarnings

        public Map<String,​List<String>> getWarnings()
        Returns the warnings. They keys are the paths to files with warnings. A value should be a list with 1 or more warnings.
        Returns:
        the warnings
      • setWarnings

        public void setWarnings​(Map<String,​List<String>> warnings)
        Sets the warnings. They keys are the paths to files with warnings. A value should be a list with 1 or more warnings.
        Parameters:
        warnings - the warnings