]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.team.ui/src/org/simantics/team/internal/ImportCoordinator.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.team.ui / src / org / simantics / team / internal / ImportCoordinator.java
1 package org.simantics.team.internal;
2
3 /**
4  * A parallel interface for ITaskManager suited for use with the
5  * org.simantics.datatype MethodInterface RPC mechanism.
6  * 
7  * Differences:
8  *  - void return values not supported (will be supported in the future)
9  * 
10  * @author Tuukka Lehtonen
11  */
12 public interface ImportCoordinator {
13
14     int completed(double amount);
15     int subTask(String name);
16     int error(Exception e);
17     int error(String message, Exception e);
18     int error(String message);
19     int warning(String message);
20     int message(String message);
21     int debug(String message);
22     boolean isCanceled();
23
24     int sendData(String key, String value);
25
26 }