Package nl.rrd.wool.parser
Class WoolProjectParserResult
- java.lang.Object
-
- nl.rrd.wool.parser.WoolProjectParserResult
-
public class WoolProjectParserResult extends Object
This class contains the result of parsing a WOOL project with theWoolProjectParser.
-
-
Constructor Summary
Constructors Constructor Description WoolProjectParserResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,List<ParseException>>getParseErrors()Returns the parse errors.WoolProjectgetProject()Returns the project if parsing succeeded.Map<String,List<String>>getWarnings()Returns the warnings.voidsetParseErrors(Map<String,List<ParseException>> parseErrors)Sets the parse errors.voidsetProject(WoolProject project)Sets the project if parsing succeeded.voidsetWarnings(Map<String,List<String>> warnings)Sets the warnings.
-
-
-
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
-
-