/*******************************************************************************
* Copyright (c) 2011, 2012 Torkild U. Resheim.
*
* 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
*
* Contributors: Torkild U. Resheim - initial API and implementation
*******************************************************************************/
package org.eclipse.mylyn.docs.epub.core;
public class ValidationMessage {
public enum Severity {
WARNING, ERROR
}
private final Severity severity;
private final String message;
public ValidationMessage(Severity severity, String message) {
this.severity = severity;
this.message = message;
}
public Severity getSeverity() {
return severity;
}
public String getMessage() {
return message;
}
}