1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
\r
5 <!-- Generated by javadoc (build 1.6.0_24) on Wed Dec 07 12:30:41 GMT 2011 -->
\r
10 <META NAME="date" CONTENT="2011-12-07">
\r
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
\r
14 <SCRIPT type="text/javascript">
\r
15 function windowTitle()
\r
17 if (location.href.indexOf('is-external=true') == -1) {
\r
18 parent.document.title="JManagement";
\r
27 <BODY BGCOLOR="white" onload="windowTitle();">
\r
31 <!-- ========= START OF TOP NAVBAR ======= -->
\r
32 <A NAME="navbar_top"><!-- --></A>
\r
33 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
\r
34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
\r
36 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
\r
37 <A NAME="navbar_top_firstrow"><!-- --></A>
\r
38 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
\r
39 <TR ALIGN="center" VALIGN="top">
\r
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
\r
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JManagement.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
\r
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
51 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
58 <A HREF="../../../compbio/data/msa/JABAService.html" title="interface in compbio.data.msa"><B>PREV CLASS</B></A>
\r
59 <A HREF="../../../compbio/data/msa/Metadata.html" title="interface in compbio.data.msa"><B>NEXT CLASS</B></A></FONT></TD>
\r
60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
61 <A HREF="../../../index.html?compbio/data/msa/JManagement.html" target="_top"><B>FRAMES</B></A>
\r
62 <A HREF="JManagement.html" target="_top"><B>NO FRAMES</B></A>
\r
63 <SCRIPT type="text/javascript">
\r
66 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
71 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
\r
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
79 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
80 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
81 DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
84 <A NAME="skip-navbar_top"></A>
\r
85 <!-- ========= END OF TOP NAVBAR ========= -->
\r
88 <!-- ======== START OF CLASS DATA ======== -->
\r
91 compbio.data.msa</FONT>
\r
93 Interface JManagement</H2>
\r
95 <DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../compbio/data/msa/MsaWS.html" title="interface in compbio.data.msa">MsaWS</A><T>, <A HREF="../../../compbio/data/msa/SequenceAnnotation.html" title="interface in compbio.data.msa">SequenceAnnotation</A><T></DD>
\r
98 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../compbio/ws/server/AAConWS.html" title="class in compbio.ws.server">AAConWS</A>, <A HREF="../../../compbio/ws/server/ClustalOWS.html" title="class in compbio.ws.server">ClustalOWS</A>, <A HREF="../../../compbio/ws/server/ClustalWS.html" title="class in compbio.ws.server">ClustalWS</A>, <A HREF="../../../compbio/ws/server/DisemblWS.html" title="class in compbio.ws.server">DisemblWS</A>, <A HREF="../../../compbio/ws/server/GlobPlotWS.html" title="class in compbio.ws.server">GlobPlotWS</A>, <A HREF="../../../compbio/ws/server/IUPredWS.html" title="class in compbio.ws.server">IUPredWS</A>, <A HREF="../../../compbio/ws/server/JronnWS.html" title="class in compbio.ws.server">JronnWS</A>, <A HREF="../../../compbio/ws/server/MafftWS.html" title="class in compbio.ws.server">MafftWS</A>, <A HREF="../../../compbio/ws/server/MuscleWS.html" title="class in compbio.ws.server">MuscleWS</A>, <A HREF="../../../compbio/ws/server/ProbconsWS.html" title="class in compbio.ws.server">ProbconsWS</A>, <A HREF="../../../compbio/ws/server/TcoffeeWS.html" title="class in compbio.ws.server">TcoffeeWS</A></DD>
\r
102 <DT><PRE>public interface <B>JManagement</B></DL>
\r
110 <!-- ========== METHOD SUMMARY =========== -->
\r
112 <A NAME="method_summary"><!-- --></A>
\r
113 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
114 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
115 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
\r
116 <B>Method Summary</B></FONT></TH>
\r
118 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
119 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
120 <CODE> boolean</CODE></FONT></TD>
\r
121 <TD><CODE><B><A HREF="../../../compbio/data/msa/JManagement.html#cancelJob(java.lang.String)">cancelJob</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> jobId)</CODE>
\r
124 Stop running the job <code>jobId</code> but leave its output untouched</TD>
\r
126 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
127 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
128 <CODE> <A HREF="../../../compbio/metadata/JobStatus.html" title="enum in compbio.metadata">JobStatus</A></CODE></FONT></TD>
\r
129 <TD><CODE><B><A HREF="../../../compbio/data/msa/JManagement.html#getJobStatus(java.lang.String)">getJobStatus</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> jobId)</CODE>
\r
132 Return the status of the job.</TD>
\r
134 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
135 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
136 <CODE> <A HREF="../../../compbio/metadata/ChunkHolder.html" title="class in compbio.metadata">ChunkHolder</A></CODE></FONT></TD>
\r
137 <TD><CODE><B><A HREF="../../../compbio/data/msa/JManagement.html#pullExecStatistics(java.lang.String, long)">pullExecStatistics</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> jobId,
\r
138 long position)</CODE>
\r
141 Reads 1kb chunk from the statistics file which is specific to a given web
142 service from the <code>position</code>.</TD>
\r
148 <!-- ============ METHOD DETAIL ========== -->
\r
150 <A NAME="method_detail"><!-- --></A>
\r
151 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
152 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
153 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
\r
154 <B>Method Detail</B></FONT></TH>
\r
158 <A NAME="cancelJob(java.lang.String)"><!-- --></A><H3>
\r
161 boolean <B>cancelJob</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> jobId)</PRE>
\r
163 <DD>Stop running the job <code>jobId</code> but leave its output untouched
\r
167 <DT><B>Returns:</B><DD>true if job was cancelled successfully, false otherwise
\r
169 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/security/InvalidParameterException.html?is-external=true" title="class or interface in java.security">InvalidParameterException</A></CODE> - is thrown if jobId is empty or cannot be recognised e.g. in
170 invalid format</DL>
\r
175 <A NAME="getJobStatus(java.lang.String)"><!-- --></A><H3>
\r
178 <A HREF="../../../compbio/metadata/JobStatus.html" title="enum in compbio.metadata">JobStatus</A> <B>getJobStatus</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> jobId)</PRE>
\r
180 <DD>Return the status of the job.
\r
183 <DT><B>Parameters:</B><DD><CODE>jobId</CODE> - - unique job identifier
\r
184 <DT><B>Returns:</B><DD>JobStatus - status of the job
\r
186 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/security/InvalidParameterException.html?is-external=true" title="class or interface in java.security">InvalidParameterException</A></CODE> - is thrown if jobId is empty or cannot be recognised e.g. in
187 invalid format<DT><B>See Also:</B><DD><A HREF="../../../compbio/metadata/JobStatus.html" title="enum in compbio.metadata"><CODE>JobStatus</CODE></A></DL>
\r
192 <A NAME="pullExecStatistics(java.lang.String, long)"><!-- --></A><H3>
\r
193 pullExecStatistics</H3>
\r
195 <A HREF="../../../compbio/metadata/ChunkHolder.html" title="class in compbio.metadata">ChunkHolder</A> <B>pullExecStatistics</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> jobId,
\r
196 long position)</PRE>
\r
198 <DD>Reads 1kb chunk from the statistics file which is specific to a given web
199 service from the <code>position</code>. If in time of a request less then
200 1kb data is available from the position to the end of the file, then it
201 returns all the data available from the position to the end of the file.
\r
204 <DT><B>Parameters:</B><DD><CODE>jobId</CODE> - - unique job identifier<DD><CODE>position</CODE> - - next position within the file to read
\r
205 <DT><B>Returns:</B><DD>ChunkHolder - which contains a chunk of data and a next position
206 within the file from which no data has been read
\r
208 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/security/InvalidParameterException.html?is-external=true" title="class or interface in java.security">InvalidParameterException</A></CODE> - thrown if jobId is empty or cannot be recognised e.g. in
209 invalid format and also if the position value is negative<DT><B>See Also:</B><DD><A HREF="../../../compbio/metadata/ChunkHolder.html" title="class in compbio.metadata"><CODE>ChunkHolder</CODE></A></DL>
\r
212 <!-- ========= END OF CLASS DATA ========= -->
\r
216 <!-- ======= START OF BOTTOM NAVBAR ====== -->
\r
217 <A NAME="navbar_bottom"><!-- --></A>
\r
218 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
\r
219 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
\r
221 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
\r
222 <A NAME="navbar_bottom_firstrow"><!-- --></A>
\r
223 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
\r
224 <TR ALIGN="center" VALIGN="top">
\r
225 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
\r
226 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
227 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
228 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JManagement.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
\r
229 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
230 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
231 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
232 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
236 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
242 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
243 <A HREF="../../../compbio/data/msa/JABAService.html" title="interface in compbio.data.msa"><B>PREV CLASS</B></A>
\r
244 <A HREF="../../../compbio/data/msa/Metadata.html" title="interface in compbio.data.msa"><B>NEXT CLASS</B></A></FONT></TD>
\r
245 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
246 <A HREF="../../../index.html?compbio/data/msa/JManagement.html" target="_top"><B>FRAMES</B></A>
\r
247 <A HREF="JManagement.html" target="_top"><B>NO FRAMES</B></A>
\r
248 <SCRIPT type="text/javascript">
\r
251 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
256 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
\r
263 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
264 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
265 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
266 DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
269 <A NAME="skip-navbar_bottom"></A>
\r
270 <!-- ======== END OF BOTTOM NAVBAR ======= -->
\r