Commit 40131265 authored by Gergo Ujhelyi's avatar Gergo Ujhelyi
Browse files

add missing sections handlers


Signed-off-by: Gergo Ujhelyi's avatarGergo Ujhelyi <ujhelyi.gergo@ericsson.com>
parent 0ba8777d
......@@ -32,6 +32,8 @@ public final class CfgAnalyzer {
private ExecuteSectionHandler executeSectionHandler = null;
private MCSectionHandler mcSectionHandler = null;
private GroupSectionHandler groupSectionHandler = null;
private ComponentSectionHandler componentSectionHandler = null;
public ExecuteSectionHandler getExecuteSectionHandler() {
return executeSectionHandler;
......@@ -161,6 +163,8 @@ public final class CfgAnalyzer {
executeSectionHandler = parser.getExecuteSectionHandler();
mcSectionHandler = parser.getMcSectionHandler();
groupSectionHandler = parser.getGroupSectionHandler();
componentSectionHandler = parser.getComponentSectionHandler();
IOUtils.closeQuietly(reader);
final boolean config_process_error = parser.get_error_flag();
return lexerListener.encounteredError() || parserListener.encounteredError() || config_process_error;
......@@ -169,4 +173,12 @@ public final class CfgAnalyzer {
public MCSectionHandler getMcSectionHandler() {
return mcSectionHandler;
}
public GroupSectionHandler getGroupSectionHandler() {
return groupSectionHandler;
}
public ComponentSectionHandler getComponentSectionHandler() {
return componentSectionHandler;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment