X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fws%2Fapi%2FUIinfo.java;h=8ef4d5b905143f0dce5e41f4575e580712b0d91c;hb=80238b0ded8d29f9f50399c51bc550bc1df9c426;hp=01fb809bb3ca68d519746b35a2540176fa514837;hpb=967079fdbf2f25c9f5361b5df15c479891da4229;p=jalview.git diff --git a/src/jalview/ws/api/UIinfo.java b/src/jalview/ws/api/UIinfo.java index 01fb809..8ef4d5b 100644 --- a/src/jalview/ws/api/UIinfo.java +++ b/src/jalview/ws/api/UIinfo.java @@ -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