X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.export.core%2Fsrc%2Forg%2Fsimantics%2Fexport%2Fcore%2Fintf%2FPublisher.java;fp=bundles%2Forg.simantics.export.core%2Fsrc%2Forg%2Fsimantics%2Fexport%2Fcore%2Fintf%2FPublisher.java;h=fdd10b5cf15ba06f118dc4952a26703b2081efdb;hp=0000000000000000000000000000000000000000;hb=969bd23cab98a79ca9101af33334000879fb60c5;hpb=866dba5cd5a3929bbeae85991796acb212338a08 diff --git a/bundles/org.simantics.export.core/src/org/simantics/export/core/intf/Publisher.java b/bundles/org.simantics.export.core/src/org/simantics/export/core/intf/Publisher.java new file mode 100644 index 000000000..fdd10b5cf --- /dev/null +++ b/bundles/org.simantics.export.core/src/org/simantics/export/core/intf/Publisher.java @@ -0,0 +1,33 @@ +package org.simantics.export.core.intf; + +import org.simantics.export.core.error.ExportException; + +/** + * Publisher + * + * @author toni.kalajainen@semantum.fi + */ +public interface Publisher { + + /** + * Identifier of the publiser extension. + * + * @return id + */ + String id(); + + /** + * Label of the publisher + * @return the label + */ + String label(); + + /** + * Create class for publishing data. + * + * @return + * @throws ExportException + */ + PublisherClass publisherClass() throws ExportException; + +}