|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectclassification.EnsembleBean
@Named(value="ensembleBean") @ApplicationScoped public class EnsembleBean
This bean carries out the task of combining available predictions for each data set.
Constructor Summary | |
---|---|
EnsembleBean()
|
Method Summary | |
---|---|
java.lang.String |
deleteEnsemble(Ensemble e)
Deletes an ensemble (and its XML file), then navigates back to the statistics page |
void |
generateEnsembles()
|
java.util.List<MetaClassifier> |
getClassifierList()
The list of meta-classifiers currently available. |
java.util.List<Ensemble> |
getEnsembleList()
The list of currently available ensembles. |
java.lang.Boolean |
getGenerate()
Whether the ensemble-building thread is currently set to do work. |
int |
getNumEnsembles()
The number of ensembles currently available. |
int |
getWaitMinutes()
The number of minutes that pass between each time the ensemble building thread checks for new data or predictions. |
void |
setGenerate(java.lang.Boolean generate)
Sets whether the ensemble-building thread is currently set to do work. |
void |
setWaitMinutes(int waitMinutes)
Sets the number of minutes that pass between each time the ensemble building thread checks for new data or predictions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnsembleBean()
Method Detail |
---|
@PostConstruct public void generateEnsembles()
public java.lang.String deleteEnsemble(Ensemble e) throws java.sql.SQLException, java.io.IOException
e
- The ensemble to delete
java.sql.SQLException
java.io.IOException
public java.util.List<MetaClassifier> getClassifierList()
public java.util.List<Ensemble> getEnsembleList()
public int getWaitMinutes()
public void setWaitMinutes(int waitMinutes)
waitMinutes
- The desired number of minutes to waitpublic java.lang.Boolean getGenerate()
public void setGenerate(java.lang.Boolean generate)
generate
- True to enable ensemble generation, false to suspend itpublic int getNumEnsembles()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |