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 Fri Aug 12 14:32:35 BST 2011 -->
\r
10 <META NAME="date" CONTENT="2011-08-12">
\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="Option";
\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/Option.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/metadata/LimitsManager.html" title="class in compbio.metadata"><B>PREV CLASS</B></A>
\r
59 <A HREF="../../compbio/metadata/Parameter.html" title="class in compbio.metadata"><B>NEXT CLASS</B></A></FONT></TD>
\r
60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
61 <A HREF="../../index.html?compbio/metadata/Option.html" target="_top"><B>FRAMES</B></A>
\r
62 <A HREF="Option.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 | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
80 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
81 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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.metadata</FONT>
\r
93 Class Option<T></H2>
\r
95 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
\r
96 <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>compbio.metadata.Option<T></B>
\r
99 <DT><DT><B>Type Parameters:</B><DD><CODE>T</CODE> - type of executable</DL>
\r
101 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../compbio/metadata/Argument.html" title="interface in compbio.metadata">Argument</A><T></DD>
\r
104 <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../compbio/metadata/Parameter.html" title="class in compbio.metadata">Parameter</A></DD>
\r
108 <DT><PRE>public class <B>Option<T></B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../compbio/metadata/Argument.html" title="interface in compbio.metadata">Argument</A><T></DL>
\r
112 Command line option/flag or multiple exclusive options with no value. Example
113 -protein, -dna, -auto
\r
118 <DT><B>Version:</B></DT>
\r
119 <DD>1.0 October 2009</DD>
\r
120 <DT><B>Author:</B></DT>
\r
127 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
\r
129 <A NAME="constructor_summary"><!-- --></A>
\r
130 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
131 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
132 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
\r
133 <B>Constructor Summary</B></FONT></TH>
\r
135 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
136 <TD><CODE><B><A HREF="../../compbio/metadata/Option.html#Option(java.lang.String, java.lang.String)">Option</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> name,
\r
137 <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> description)</CODE>
\r
140 </TD>
\r
144 <!-- ========== METHOD SUMMARY =========== -->
\r
146 <A NAME="method_summary"><!-- --></A>
\r
147 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
148 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
149 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
\r
150 <B>Method Summary</B></FONT></TH>
\r
152 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
153 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
154 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<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>></CODE></FONT></TD>
\r
155 <TD><CODE><B><A HREF="../../compbio/metadata/Option.html#addOptionNames(java.lang.String...)">addOptionNames</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>... value)</CODE>
\r
158 Adds an option to the optionName list</TD>
\r
160 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
161 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
162 <CODE> boolean</CODE></FONT></TD>
\r
163 <TD><CODE><B><A HREF="../../compbio/metadata/Option.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE>
\r
166 </TD>
\r
168 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
169 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
170 <CODE> <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></CODE></FONT></TD>
\r
171 <TD><CODE><B><A HREF="../../compbio/metadata/Option.html#getDefaultValue()">getDefaultValue</A></B>()</CODE>
\r
174 A default value of the option.</TD>
\r
176 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
177 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
178 <CODE> <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></CODE></FONT></TD>
\r
179 <TD><CODE><B><A HREF="../../compbio/metadata/Option.html#getDescription()">getDescription</A></B>()</CODE>
\r
182 A long description of the Option</TD>
\r
184 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
185 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
186 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A></CODE></FONT></TD>
\r
187 <TD><CODE><B><A HREF="../../compbio/metadata/Option.html#getFurtherDetails()">getFurtherDetails</A></B>()</CODE>
\r
190 The URL where further details about the option can be found</TD>
\r
192 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
193 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
194 <CODE> <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></CODE></FONT></TD>
\r
195 <TD><CODE><B><A HREF="../../compbio/metadata/Option.html#getName()">getName</A></B>()</CODE>
\r
198 Human readable name of the option</TD>
\r
200 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
201 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
202 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<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>></CODE></FONT></TD>
\r
203 <TD><CODE><B><A HREF="../../compbio/metadata/Option.html#getOptionNames()">getOptionNames</A></B>()</CODE>
\r
206 </TD>
\r
208 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
209 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
210 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<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>></CODE></FONT></TD>
\r
211 <TD><CODE><B><A HREF="../../compbio/metadata/Option.html#getPossibleValues()">getPossibleValues</A></B>()</CODE>
\r
214 List of possible optionNames</TD>
\r
216 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
217 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
218 <CODE> int</CODE></FONT></TD>
\r
219 <TD><CODE><B><A HREF="../../compbio/metadata/Option.html#hashCode()">hashCode</A></B>()</CODE>
\r
222 </TD>
\r
224 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
225 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
226 <CODE> boolean</CODE></FONT></TD>
\r
227 <TD><CODE><B><A HREF="../../compbio/metadata/Option.html#isRequired()">isRequired</A></B>()</CODE>
\r
230 Flag that indicated that this option must be specified in the command
231 line for an executable to run</TD>
\r
233 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
234 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
235 <CODE> void</CODE></FONT></TD>
\r
236 <TD><CODE><B><A HREF="../../compbio/metadata/Option.html#setDefaultValue(java.lang.String)">setDefaultValue</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> defaultVal)</CODE>
\r
239 Sets one of the values defined in optionList as default.</TD>
\r
241 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
242 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
243 <CODE> void</CODE></FONT></TD>
\r
244 <TD><CODE><B><A HREF="../../compbio/metadata/Option.html#setDescription(java.lang.String)">setDescription</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> description)</CODE>
\r
247 </TD>
\r
249 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
250 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
251 <CODE> void</CODE></FONT></TD>
\r
252 <TD><CODE><B><A HREF="../../compbio/metadata/Option.html#setFurtherDetails(java.net.URL)">setFurtherDetails</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A> furtherDetails)</CODE>
\r
255 </TD>
\r
257 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
258 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
259 <CODE> void</CODE></FONT></TD>
\r
260 <TD><CODE><B><A HREF="../../compbio/metadata/Option.html#setName(java.lang.String)">setName</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> name)</CODE>
\r
263 </TD>
\r
265 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
266 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
267 <CODE> void</CODE></FONT></TD>
\r
268 <TD><CODE><B><A HREF="../../compbio/metadata/Option.html#setOptionNames(java.util.Set)">setOptionNames</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<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>> optionNames)</CODE>
\r
271 </TD>
\r
273 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
274 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
275 <CODE> void</CODE></FONT></TD>
\r
276 <TD><CODE><B><A HREF="../../compbio/metadata/Option.html#setRequired(boolean)">setRequired</A></B>(boolean isRequired)</CODE>
\r
279 </TD>
\r
281 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
282 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
283 <CODE> void</CODE></FONT></TD>
\r
284 <TD><CODE><B><A HREF="../../compbio/metadata/Option.html#setValue(java.lang.String)">setValue</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> dValue)</CODE>
\r
287 Set default values for the parameter or an option</TD>
\r
289 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
290 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
291 <CODE> <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></CODE></FONT></TD>
\r
292 <TD><CODE><B><A HREF="../../compbio/metadata/Option.html#toCommand(java.lang.String)">toCommand</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> nameValueSeparator)</CODE>
\r
295 Convert the option to the command string.</TD>
\r
297 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
298 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
299 <CODE> <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></CODE></FONT></TD>
\r
300 <TD><CODE><B><A HREF="../../compbio/metadata/Option.html#toString()">toString</A></B>()</CODE>
\r
303 </TD>
\r
306 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
\r
307 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
308 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
\r
309 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
\r
311 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
312 <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
\r
318 <!-- ========= CONSTRUCTOR DETAIL ======== -->
\r
320 <A NAME="constructor_detail"><!-- --></A>
\r
321 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
322 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
323 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
\r
324 <B>Constructor Detail</B></FONT></TH>
\r
328 <A NAME="Option(java.lang.String, java.lang.String)"><!-- --></A><H3>
\r
331 public <B>Option</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> name,
\r
332 <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> description)</PRE>
\r
336 <!-- ============ METHOD DETAIL ========== -->
\r
338 <A NAME="method_detail"><!-- --></A>
\r
339 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
340 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
341 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
\r
342 <B>Method Detail</B></FONT></TH>
\r
346 <A NAME="getName()"><!-- --></A><H3>
\r
349 public <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> <B>getName</B>()</PRE>
\r
351 <DD>Human readable name of the option
\r
354 <DT><B>Specified by:</B><DD><CODE><A HREF="../../compbio/metadata/Argument.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../compbio/metadata/Argument.html" title="interface in compbio.metadata">Argument</A><<A HREF="../../compbio/metadata/Option.html" title="type parameter in Option">T</A>></CODE></DL>
\r
362 <A NAME="setName(java.lang.String)"><!-- --></A><H3>
\r
365 public void <B>setName</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> name)</PRE>
\r
376 <A NAME="getDescription()"><!-- --></A><H3>
\r
377 getDescription</H3>
\r
379 public <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> <B>getDescription</B>()</PRE>
\r
381 <DD>A long description of the Option
\r
384 <DT><B>Specified by:</B><DD><CODE><A HREF="../../compbio/metadata/Argument.html#getDescription()">getDescription</A></CODE> in interface <CODE><A HREF="../../compbio/metadata/Argument.html" title="interface in compbio.metadata">Argument</A><<A HREF="../../compbio/metadata/Option.html" title="type parameter in Option">T</A>></CODE></DL>
\r
392 <A NAME="setDescription(java.lang.String)"><!-- --></A><H3>
\r
393 setDescription</H3>
\r
395 public void <B>setDescription</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> description)</PRE>
\r
406 <A NAME="getFurtherDetails()"><!-- --></A><H3>
\r
407 getFurtherDetails</H3>
\r
409 public <A HREF="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A> <B>getFurtherDetails</B>()</PRE>
\r
411 <DD>The URL where further details about the option can be found
\r
414 <DT><B>Specified by:</B><DD><CODE><A HREF="../../compbio/metadata/Argument.html#getFurtherDetails()">getFurtherDetails</A></CODE> in interface <CODE><A HREF="../../compbio/metadata/Argument.html" title="interface in compbio.metadata">Argument</A><<A HREF="../../compbio/metadata/Option.html" title="type parameter in Option">T</A>></CODE></DL>
\r
422 <A NAME="setFurtherDetails(java.net.URL)"><!-- --></A><H3>
\r
423 setFurtherDetails</H3>
\r
425 public void <B>setFurtherDetails</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A> furtherDetails)</PRE>
\r
436 <A NAME="getDefaultValue()"><!-- --></A><H3>
\r
437 getDefaultValue</H3>
\r
439 public <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> <B>getDefaultValue</B>()</PRE>
\r
441 <DD>A default value of the option. Defaults to command line argument name
445 <DT><B>Specified by:</B><DD><CODE><A HREF="../../compbio/metadata/Argument.html#getDefaultValue()">getDefaultValue</A></CODE> in interface <CODE><A HREF="../../compbio/metadata/Argument.html" title="interface in compbio.metadata">Argument</A><<A HREF="../../compbio/metadata/Option.html" title="type parameter in Option">T</A>></CODE></DL>
\r
453 <A NAME="setDefaultValue(java.lang.String)"><!-- --></A><H3>
\r
454 setDefaultValue</H3>
\r
456 public void <B>setDefaultValue</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> defaultVal)
\r
457 throws <A HREF="../../compbio/metadata/WrongParameterException.html" title="class in compbio.metadata">WrongParameterException</A></PRE>
\r
459 <DD>Sets one of the values defined in optionList as default. Attempting set
460 the value not listed there will result in WrongParameter exception
\r
466 <DT><B>Parameters:</B><DD><CODE>defaultVal</CODE> -
\r
468 <DD><CODE><A HREF="../../compbio/metadata/WrongParameterException.html" title="class in compbio.metadata">WrongParameterException</A></CODE> - is thrown if the defaultValue is not found in optionList</DL>
\r
473 <A NAME="isRequired()"><!-- --></A><H3>
\r
476 public boolean <B>isRequired</B>()</PRE>
\r
478 <DD>Flag that indicated that this option must be specified in the command
479 line for an executable to run
\r
486 <DT><B>Returns:</B><DD>true is the option is required, false otherwise</DL>
\r
491 <A NAME="setRequired(boolean)"><!-- --></A><H3>
\r
494 public void <B>setRequired</B>(boolean isRequired)</PRE>
\r
505 <A NAME="getOptionNames()"><!-- --></A><H3>
\r
506 getOptionNames</H3>
\r
508 public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<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>> <B>getOptionNames</B>()</PRE>
\r
515 <DT><B>Returns:</B><DD>List of option names</DL>
\r
520 <A NAME="setOptionNames(java.util.Set)"><!-- --></A><H3>
\r
521 setOptionNames</H3>
\r
523 public void <B>setOptionNames</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<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>> optionNames)</PRE>
\r
534 <A NAME="addOptionNames(java.lang.String...)"><!-- --></A><H3>
\r
535 addOptionNames</H3>
\r
537 public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</A><<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>> <B>addOptionNames</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>... value)</PRE>
\r
539 <DD>Adds an option to the optionName list
\r
545 <DT><B>Parameters:</B><DD><CODE>value</CODE> -
\r
546 <DT><B>Returns:</B><DD>modified optionName list</DL>
\r
551 <A NAME="toString()"><!-- --></A><H3>
\r
554 public <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> <B>toString</B>()</PRE>
\r
557 <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
\r
565 <A NAME="toCommand(java.lang.String)"><!-- --></A><H3>
\r
568 public <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> <B>toCommand</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> nameValueSeparator)</PRE>
\r
570 <DD>Convert the option to the command string.
\r
577 <DT><B>Returns:</B><DD>If only one optionName is defined, than it is returned, if many
578 option names are defined, then the defaultValue is returned.
579 Option must have a default value if there are many optionNames to
585 <A NAME="equals(java.lang.Object)"><!-- --></A><H3>
\r
588 public boolean <B>equals</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE>
\r
591 <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
\r
599 <A NAME="hashCode()"><!-- --></A><H3>
\r
602 public int <B>hashCode</B>()</PRE>
\r
605 <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
\r
613 <A NAME="getPossibleValues()"><!-- --></A><H3>
\r
614 getPossibleValues</H3>
\r
616 public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<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>> <B>getPossibleValues</B>()</PRE>
\r
618 <DD>List of possible optionNames
\r
621 <DT><B>Specified by:</B><DD><CODE><A HREF="../../compbio/metadata/Argument.html#getPossibleValues()">getPossibleValues</A></CODE> in interface <CODE><A HREF="../../compbio/metadata/Argument.html" title="interface in compbio.metadata">Argument</A><<A HREF="../../compbio/metadata/Option.html" title="type parameter in Option">T</A>></CODE></DL>
\r
625 <DT><B>Returns:</B><DD>List of values allowed for an Argument</DL>
\r
630 <A NAME="setValue(java.lang.String)"><!-- --></A><H3>
\r
633 public void <B>setValue</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> dValue)
\r
634 throws <A HREF="../../compbio/metadata/WrongParameterException.html" title="class in compbio.metadata">WrongParameterException</A></PRE>
\r
636 <DD><B>Description copied from interface: <CODE><A HREF="../../compbio/metadata/Argument.html#setValue(java.lang.String)">Argument</A></CODE></B></DD>
\r
637 <DD>Set default values for the parameter or an option
\r
640 <DT><B>Specified by:</B><DD><CODE><A HREF="../../compbio/metadata/Argument.html#setValue(java.lang.String)">setValue</A></CODE> in interface <CODE><A HREF="../../compbio/metadata/Argument.html" title="interface in compbio.metadata">Argument</A><<A HREF="../../compbio/metadata/Option.html" title="type parameter in Option">T</A>></CODE></DL>
\r
643 <DT><B>Parameters:</B><DD><CODE>dValue</CODE> - the value to be set
\r
645 <DD><CODE><A HREF="../../compbio/metadata/WrongParameterException.html" title="class in compbio.metadata">WrongParameterException</A></CODE> - - when the value to be set is illegal. Wrong value for
646 numeric parameter is the value defined outside it , for
647 string type parameter, wrong value is the one which is not
648 listed in possible values list<DT><B>See Also:</B><DD><A HREF="../../compbio/metadata/ValueConstrain.html" title="class in compbio.metadata"><CODE>ValueConstrain</CODE></A></DL>
\r
651 <!-- ========= END OF CLASS DATA ========= -->
\r
655 <!-- ======= START OF BOTTOM NAVBAR ====== -->
\r
656 <A NAME="navbar_bottom"><!-- --></A>
\r
657 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
\r
658 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
\r
660 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
\r
661 <A NAME="navbar_bottom_firstrow"><!-- --></A>
\r
662 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
\r
663 <TR ALIGN="center" VALIGN="top">
\r
664 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
\r
665 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
666 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
667 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Option.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
\r
668 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
669 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
670 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
671 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
675 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
681 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
682 <A HREF="../../compbio/metadata/LimitsManager.html" title="class in compbio.metadata"><B>PREV CLASS</B></A>
\r
683 <A HREF="../../compbio/metadata/Parameter.html" title="class in compbio.metadata"><B>NEXT CLASS</B></A></FONT></TD>
\r
684 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
685 <A HREF="../../index.html?compbio/metadata/Option.html" target="_top"><B>FRAMES</B></A>
\r
686 <A HREF="Option.html" target="_top"><B>NO FRAMES</B></A>
\r
687 <SCRIPT type="text/javascript">
\r
690 document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
695 <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
\r
702 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
703 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
704 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
705 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
708 <A NAME="skip-navbar_bottom"></A>
\r
709 <!-- ======== END OF BOTTOM NAVBAR ======= -->
\r