--- /dev/null
+/*******************************************************************************\r
+ * Copyright (c) 2014 Association for Decentralized Information Management in\r
+ * Industry THTH ry.\r
+ * All rights reserved. This program and the accompanying materials\r
+ * are made available under the terms of the Eclipse Public License v1.0\r
+ * which accompanies this distribution, and is available at\r
+ * http://www.eclipse.org/legal/epl-v10.html\r
+ *\r
+ * Contributors:\r
+ * Semantum Oy - initial API and implementation\r
+ *******************************************************************************/\r
+package org.simantics.simulation.history;\r
+\r
+import org.simantics.databoard.annotations.Optional;\r
+import org.simantics.databoard.util.Bean;\r
+\r
+/**\r
+ * A result class returned stored history import from database to disk.\r
+ * \r
+ * @author Tuukka Lehtonen\r
+ * @see HistoryUtil#importHistory(org.simantics.db.Resource,\r
+ * org.simantics.history.HistoryManager)\r
+ */\r
+public class HistoryImportResult {\r
+\r
+ @Optional public String error;\r
+ @Optional public Bean collectorState;\r
+\r
+ public HistoryImportResult() {\r
+ }\r
+\r
+ public HistoryImportResult(String error) {\r
+ this.error = error;\r
+ }\r
+\r
+}
\ No newline at end of file