]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.export.core/src/org/simantics/export/core/intf/DiscoverAction.java
ImportPdfReader now implements Closeable
[simantics/platform.git] / bundles / org.simantics.export.core / src / org / simantics / export / core / intf / DiscoverAction.java
1 package org.simantics.export.core.intf;
2
3 import java.util.Collection;
4
5 import org.simantics.export.core.ExportContext;
6 import org.simantics.export.core.error.ExportException;
7
8 /**
9  * Interface for implementations that discover content in workspace and 
10  * database. 
11  *
12  * @author toni.kalajainen@semantum.fi
13  */
14 public interface DiscoverAction {
15                 
16         /**
17          * Discover content. 
18          * 
19          * @param ctx
20          * @param startLocations
21          * @return a collection of content uris.
22          * @throws ExportException
23          */
24         Collection<String> discoverContent(ExportContext ctx, Collection<String> startLocations) throws ExportException;
25         
26 }