fr.ens.transcriptome.doelan.algorithms
Class QualityGlobalTest

java.lang.Object
  extended byfr.ens.transcriptome.nividic.platform.workflow.Algorithm
      extended byfr.ens.transcriptome.doelan.algorithms.QualityTest
          extended byfr.ens.transcriptome.doelan.algorithms.QualityGlobalTest
All Implemented Interfaces:
fr.ens.transcriptome.nividic.platform.module.Module, fr.ens.transcriptome.nividic.platform.workflow.WorkflowListener
Direct Known Subclasses:
GlobalMaxBadFeatureRemoved, GlobalMaxBadFeaturesTest

public abstract class QualityGlobalTest
extends QualityTest

This class define a abstract global test. Tha aim of the a global test is only to set global parameters for the DoelanGenerateReport algorithm.

Author:
Laurent Jourdren

Field Summary
 
Fields inherited from class fr.ens.transcriptome.doelan.algorithms.QualityTest
CONFIGURE_TEST_EVENT, GLOBAL_TEST_INIT_EVENT, RESULT_EVENT
 
Constructor Summary
QualityGlobalTest()
          Public constructor.
 
Method Summary
protected  void doIt(fr.ens.transcriptome.nividic.platform.workflow.Container c, fr.ens.transcriptome.nividic.util.parameter.Parameters parameters)
           
 void doTest(fr.ens.transcriptome.nividic.platform.workflow.Container c, fr.ens.transcriptome.nividic.util.parameter.Parameters parameters)
          This method is called once all the unit tests was executed.
 boolean isAddable()
          Test if the test could be diplayed in the list of tests to add.
 boolean isDeletable()
          Test if the test is deletable().
 boolean isModifiable()
          Test if the test is modifiable.
 boolean isShowable()
          Test if the test could be showed.
 boolean isUniqueInstance()
          Test if only one instance of the test could be created.
protected abstract  QualityGlobalTestResult test(fr.ens.transcriptome.nividic.om.BioAssay bioassay, fr.ens.transcriptome.nividic.om.BioAssay arrayList, fr.ens.transcriptome.nividic.util.parameter.Parameters parameters, QualityUnitTestResult[] unitResults)
          Do the test.
 
Methods inherited from class fr.ens.transcriptome.nividic.platform.workflow.Algorithm
addListener, defineParameters, getId, getInstanceId, getLogger, getParameters, in, init, isPause, isStop, out, removeListener, sendEvent, terminate, workflowNewException, workflowStateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.ens.transcriptome.nividic.platform.module.Module
aboutModule
 

Constructor Detail

QualityGlobalTest

public QualityGlobalTest()
                  throws fr.ens.transcriptome.nividic.platform.PlatformException
Public constructor.

Throws:
fr.ens.transcriptome.nividic.platform.PlatformException - If the name or the version of the element is null .
Method Detail

isDeletable

public boolean isDeletable()
Test if the test is deletable().

Specified by:
isDeletable in class QualityTest
Returns:
true if the test is deletable

isUniqueInstance

public boolean isUniqueInstance()
Test if only one instance of the test could be created.

Specified by:
isUniqueInstance in class QualityTest
Returns:
true if only one instance of the test could be created

isModifiable

public boolean isModifiable()
Test if the test is modifiable.

Specified by:
isModifiable in class QualityTest
Returns:
true if the test is modifiable

isShowable

public boolean isShowable()
Test if the test could be showed.

Specified by:
isShowable in class QualityTest
Returns:
true if the test could be showed

isAddable

public boolean isAddable()
Test if the test could be diplayed in the list of tests to add.

Specified by:
isAddable in class QualityTest
Returns:
true if the test could be showed

doIt

protected void doIt(fr.ens.transcriptome.nividic.platform.workflow.Container c,
                    fr.ens.transcriptome.nividic.util.parameter.Parameters parameters)
             throws fr.ens.transcriptome.nividic.platform.PlatformException
Throws:
fr.ens.transcriptome.nividic.platform.PlatformException

doTest

public void doTest(fr.ens.transcriptome.nividic.platform.workflow.Container c,
                   fr.ens.transcriptome.nividic.util.parameter.Parameters parameters)
            throws fr.ens.transcriptome.nividic.platform.PlatformException
This method is called once all the unit tests was executed.

Parameters:
c - Container
parameters - Parameters of the test
Throws:
fr.ens.transcriptome.nividic.platform.PlatformException - if an error occurs during the test

test

protected abstract QualityGlobalTestResult test(fr.ens.transcriptome.nividic.om.BioAssay bioassay,
                                                fr.ens.transcriptome.nividic.om.BioAssay arrayList,
                                                fr.ens.transcriptome.nividic.util.parameter.Parameters parameters,
                                                QualityUnitTestResult[] unitResults)
                                         throws fr.ens.transcriptome.nividic.platform.PlatformException
Do the test.

Parameters:
parameters - Parameters of the test
bioassay - BioAssay to test
arrayList - The array list
unitResults - results of the units tests
Throws:
fr.ens.transcriptome.nividic.platform.PlatformException - if an error occurs while executing the test.


Copyright © 2004-2005 École Normale Supérieure Microarray Platform. All Rights Reserved.