JAL-3878 Create interface for web service operations
authorMateusz Warowny <mmzwarowny@dundee.ac.uk>
Mon, 20 Sep 2021 16:30:24 +0000 (18:30 +0200)
committerMateusz Warowny <mmzwarowny@dundee.ac.uk>
Mon, 20 Sep 2021 16:44:44 +0000 (18:44 +0200)
src/jalview/ws2/operations/Operation.java [new file with mode: 0644]

diff --git a/src/jalview/ws2/operations/Operation.java b/src/jalview/ws2/operations/Operation.java
new file mode 100644 (file)
index 0000000..062d036
--- /dev/null
@@ -0,0 +1,13 @@
+package jalview.ws2.operations;
+
+import jalview.ws2.MenuEntryProviderI;
+
+public interface Operation
+{
+  public int getMinSequences();
+  public int getMaxSequences();
+  public boolean canSubmitGaps();
+  public boolean isProteinOperation();
+  public boolean  isNucleotideOperation();
+  public MenuEntryProviderI getMenuBuilder();
+}