X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=website%2Fdm_javadoc%2Fcompbio%2Fmetadata%2FPreset.html;fp=website%2Fdm_javadoc%2Fcompbio%2Fmetadata%2FPreset.html;h=87f3a9b1233c853de65e33200c15ae8ce227ede8;hb=da8c820a7fb2edecb190589f3dc9c362e57a2f24;hp=0000000000000000000000000000000000000000;hpb=0bbebf27d045b1345bc042bdf24ef2e6808df251;p=jabaws.git diff --git a/website/dm_javadoc/compbio/metadata/Preset.html b/website/dm_javadoc/compbio/metadata/Preset.html new file mode 100644 index 0000000..87f3a9b --- /dev/null +++ b/website/dm_javadoc/compbio/metadata/Preset.html @@ -0,0 +1,455 @@ + + + + + + +Preset + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +compbio.metadata +
+Class Preset<T>

+
+java.lang.Object
+  extended by compbio.metadata.Preset<T>
+
+
+
Type Parameters:
T - executable type
+
+
+
public class Preset<T>
extends java.lang.Object
+ + +

+Collection of Options and Parameters with their values +

+ +

+

+
Version:
+
1.0 December 2009
+
Author:
+
pvtroshin
+
See Also:
Option, +Parameter
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
Preset() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(java.lang.Object obj) + +
+           
+ java.util.List<Option<T>>getArguments(RunnerConfig<T> rconfig) + +
+          Converts list of options as String to type Option
+ java.lang.StringgetDescription() + +
+           
+ java.lang.StringgetName() + +
+           
+ java.util.List<java.lang.String>getOptions() + +
+           
+ inthashCode() + +
+           
+ voidsetDescription(java.lang.String description) + +
+           
+ voidsetName(java.lang.String name) + +
+           
+ voidsetOptions(java.util.List<java.lang.String> option) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Preset

+
+public Preset()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setOptions

+
+public void setOptions(java.util.List<java.lang.String> option)
+
+
+
+
+
+
+ +

+setName

+
+public void setName(java.lang.String name)
+
+
+
+
+
+
+ +

+setDescription

+
+public void setDescription(java.lang.String description)
+
+
+
+
+
+
+ +

+getOptions

+
+public java.util.List<java.lang.String> getOptions()
+
+
+ +
Returns:
a List of Options as a String
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
+ +
Returns:
- name of the Preset
+
+
+
+ +

+getDescription

+
+public java.lang.String getDescription()
+
+
+ +
Returns:
- a long description of the Preset
+
+
+
+ +

+getArguments

+
+public java.util.List<Option<T>> getArguments(RunnerConfig<T> rconfig)
+                                       throws WrongParameterException
+
+
Converts list of options as String to type Option +

+

+
Parameters:
rconfig - +
Returns:
List of Options +
Throws: +
WrongParameterException - if the value of the parameter is invalid @see + Parameter
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
Overrides:
toString in class java.lang.Object
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
Overrides:
hashCode in class java.lang.Object
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+
Overrides:
equals in class java.lang.Object
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + +