JAL_1426 JAL-3066 update Apache James mime parser and fix deprecation warnings with...
[jalview.git] / src / jalview / ws / api / UIinfo.java
index 01fb809..8ef4d5b 100644 (file)
@@ -139,4 +139,26 @@ public class UIinfo
     // TODO Auto-generated method stub
     return false;
   }
+
+  private String docUrl = null;
+
+  /**
+   * set the URL that will be offered to show documentation for the service
+   * 
+   * @param url
+   */
+  public void setDocumentationUrl(String url)
+  {
+    docUrl = url;
+  }
+
+  public boolean hasDocumentationUrl()
+  {
+    return docUrl != null && docUrl.length() > 7;
+  }
+
+  public String getDocumentationUrl()
+  {
+    return docUrl;
+  }
 }
\ No newline at end of file