Class ErrorCodeConfigReader
java.lang.Object
com.exasol.errorcodecrawlermavenplugin.config.ErrorCodeConfigReader
This class reads the error code config file into a
ErrorCodeConfig.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionErrorCodeConfigReader(Path projectDir) Create a new instance ofErrorCodeConfigReader. -
Method Summary
-
Field Details
-
CONFIG_NAME
Name of the error code configuration file.- See Also:
-
-
Constructor Details
-
ErrorCodeConfigReader
Create a new instance ofErrorCodeConfigReader.- Parameters:
projectDir- projects directory- Throws:
ErrorCodeConfigException- if the config does not exist
-
-
Method Details
-
read
Read the configuration.- Returns:
- java representation of the config:
ErrorCodeConfig - Throws:
ErrorCodeConfigException- if the config has an invalid syntax
-