use of com.google.idea.blaze.base.scope.output.PrintOutput.OutputType in project intellij by bazelbuild.
the class IssueOutputLineProcessor method processLine.
@Override
public boolean processLine(String line) {
IssueOutput issue = blazeIssueParser.parseIssue(line);
if (issue != null) {
if (issue.getCategory() == IssueOutput.Category.ERROR) {
context.setHasError();
}
context.output(issue);
}
OutputType outputType = issue == null ? OutputType.NORMAL : OutputType.ERROR;
context.output(new PrintOutput(line, outputType));
return true;
}
Aggregations