org.eclipse.xtext.diagnostics.IDiagnosticConsumer Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (c) 2008 itemis AG (http://www.itemis.eu) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
package org.eclipse.xtext.diagnostics;
/**
* @author Sebastian Zarnekow - Initial contribution and API
*/
public interface IDiagnosticConsumer {
/**
* @param severity the severity of the diagnostic. May neither be null
or Severity.INFO
.
*/
void consume(Diagnostic diagnostic, Severity severity);
/**
* @param severity the severity of the diagnostic. May neither be null
or Severity.INFO
.
*/
boolean hasConsumedDiagnostics(Severity severity);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy