|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SeqAnalysisI
| Method Summary | |
|---|---|
void |
addProperty(java.lang.String name,
java.lang.String property)
set the value of a property |
java.util.Vector |
getAllowedProperties()
all the known property names (in the order they should be shown in a GUI) |
java.util.Vector |
getAllowedValues(java.lang.String name)
allowed/recommended Vector of values for a property |
java.lang.String |
getAllRawResults()
|
CurationSet |
getCurationSet()
|
java.lang.String |
getDesc()
|
FeatureSet |
getFeatureSet()
|
SequenceI |
getInputSequence()
Retrieve the SequenceI that this analysis builds a CurationSet from |
int |
getInputSequenceCount()
usually returns 1, but some programs (eg clustalw) require >1 input sequence |
java.util.Vector |
getInputSequences()
Retrieve the SequenceI list that this builds a curation set from |
java.lang.String |
getName()
|
java.lang.String |
getProgramName()
|
java.util.Hashtable |
getProperties()
all set properties (should this be public????) |
java.lang.String |
getProperty(java.lang.String name)
get the value of a property |
java.lang.String |
getPropertyDescription(java.lang.String name)
get the description of a property; this gives metadata to the GUI/front end |
java.lang.String |
getPropertyType(java.lang.String name)
get the type of a property (optional). |
java.util.Hashtable |
getRawResultHashtable()
|
java.util.Vector |
getRawResultVector()
all the raw results - usually Vector of main output and error (if any) as Strings these Strings should *NOT* be parsed; it is up to the SeqAnalysisI implementation object to do any parsing and return the results as a CurationSet or similar object |
boolean |
hasResults()
does the analysis have any results to read yet? note: an analysis implementation may choose to give results incrementally, so it need not be finished before returning results |
boolean |
isAsynchronous()
is the analysis asynchronous (ie will launching the analysis cause the program to block?) hmmm, this should probably be a property... |
boolean |
isFinished()
has the analysis finished? |
boolean |
isStarted()
has the analysis been launched? |
boolean |
launch()
Once you have configured the SeqAnalysis properties, call this method to run the analysis. |
void |
setDesc(java.lang.String name)
|
void |
setInputSequence(SequenceI sequence)
|
void |
setInputSequence(java.util.Vector sequences)
|
void |
setName(java.lang.String name)
|
| Method Detail |
|---|
void addProperty(java.lang.String name,
java.lang.String property)
java.lang.String getProperty(java.lang.String name)
java.lang.String getPropertyDescription(java.lang.String name)
java.lang.String getPropertyType(java.lang.String name)
java.util.Hashtable getProperties()
java.util.Vector getAllowedProperties()
java.util.Vector getAllowedValues(java.lang.String name)
java.lang.String getName()
void setName(java.lang.String name)
java.lang.String getDesc()
void setDesc(java.lang.String name)
java.lang.String getProgramName()
SequenceI getInputSequence()
void setInputSequence(SequenceI sequence)
java.util.Vector getInputSequences()
void setInputSequence(java.util.Vector sequences)
int getInputSequenceCount()
boolean launch()
boolean isAsynchronous()
boolean isStarted()
boolean hasResults()
boolean isFinished()
CurationSet getCurationSet()
FeatureSet getFeatureSet()
java.lang.String getAllRawResults()
java.util.Vector getRawResultVector()
java.util.Hashtable getRawResultHashtable()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||