1 /*******************************************************************************
2 * Copyright (c) 2014 Association for Decentralized Information Management in
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Semantum Oy - initial API and implementation
11 *******************************************************************************/
12 package org.simantics.simulation.history;
14 import org.simantics.databoard.annotations.Optional;
15 import org.simantics.databoard.util.Bean;
18 * A result class returned stored history import from database to disk.
20 * @author Tuukka Lehtonen
21 * @see HistoryUtil#importHistory(org.simantics.db.Resource,
22 * org.simantics.history.HistoryManager)
24 public class HistoryImportResult {
26 @Optional public String error;
27 @Optional public Bean collectorState;
29 public HistoryImportResult() {
32 public HistoryImportResult(String error) {