Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorkild U. Resheim2012-02-24 23:41:26 +0000
committerSteffen Pingel2012-02-25 11:49:19 +0000
commitb2ba6c88e986d4d82bb34e51df30a2e452f9e872 (patch)
tree611558e3472be295ab5ef1081180172582104cab /org.eclipse.mylyn.docs.epub.core/src/org/eclipse/mylyn/docs/epub/core/ValidationMessage.java
parent0dced657905309499e86caf9121d1d15083505e8 (diff)
downloadorg.eclipse.mylyn.docs-b2ba6c88e986d4d82bb34e51df30a2e452f9e872.tar.gz
org.eclipse.mylyn.docs-b2ba6c88e986d4d82bb34e51df30a2e452f9e872.tar.xz
org.eclipse.mylyn.docs-b2ba6c88e986d4d82bb34e51df30a2e452f9e872.zip
bug 332122: Add ANT task for converting from wiki markup to EPUB format
https://bugs.eclipse.org/bugs/show_bug.cgi?id=332122 Change-Id: I4fcc2877e1735e90dcd28fd4e60db14b7b59c50e
Diffstat (limited to 'org.eclipse.mylyn.docs.epub.core/src/org/eclipse/mylyn/docs/epub/core/ValidationMessage.java')
-rw-r--r--org.eclipse.mylyn.docs.epub.core/src/org/eclipse/mylyn/docs/epub/core/ValidationMessage.java36
1 files changed, 36 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.docs.epub.core/src/org/eclipse/mylyn/docs/epub/core/ValidationMessage.java b/org.eclipse.mylyn.docs.epub.core/src/org/eclipse/mylyn/docs/epub/core/ValidationMessage.java
new file mode 100644
index 000000000..fd97d67d7
--- /dev/null
+++ b/org.eclipse.mylyn.docs.epub.core/src/org/eclipse/mylyn/docs/epub/core/ValidationMessage.java
@@ -0,0 +1,36 @@
+/*******************************************************************************
+ * Copyright (c) 2011 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;
+ }
+
+}

Back to the top