initial implementation of Rest client framework (JAL-715)
[jalview.git] / src / jalview / ws / rest / AlignmentProcessor.java
diff --git a/src/jalview/ws/rest/AlignmentProcessor.java b/src/jalview/ws/rest/AlignmentProcessor.java
new file mode 100644 (file)
index 0000000..cc6486e
--- /dev/null
@@ -0,0 +1,12 @@
+package jalview.ws.rest;
+
+import jalview.datamodel.AlignmentI;
+
+public interface AlignmentProcessor {
+  /**
+   * prepare the context alignment for this input
+   * @param al - alignment to be processed
+   * @return al or a new alignment with appropriate attributes/order for input
+   */
+  public AlignmentI prepareAlignment(AlignmentI al);
+}
\ No newline at end of file