fr.ens.transcriptome.doelan.algorithms
Class QualityUnitTest

java.lang.Object
  extended byfr.ens.transcriptome.nividic.platform.workflow.Algorithm
      extended byfr.ens.transcriptome.doelan.algorithms.QualityTest
          extended byfr.ens.transcriptome.doelan.algorithms.QualityUnitTest
All Implemented Interfaces:
fr.ens.transcriptome.nividic.platform.module.Module, fr.ens.transcriptome.nividic.platform.workflow.WorkflowListener
Direct Known Subclasses:
DiameterFeatureTest, FeatureFlagTest, GenericTest, HeterogeneousFeatureTest, MaxDiameterFeatureTest, MinDiameterFeatureTest, MinimalIntensityTest, SaturatedPixelsTest

public abstract class QualityUnitTest
extends QualityTest

This class define a quality unit test.

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
QualityUnitTest()
          Public constructor.
 
Method Summary
protected  void doIt(fr.ens.transcriptome.nividic.platform.workflow.Container c, fr.ens.transcriptome.nividic.util.parameter.Parameters parameters)
           
 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  QualityUnitTestResult test(fr.ens.transcriptome.nividic.om.BioAssay bioassay, fr.ens.transcriptome.nividic.om.BioAssay arrayList, fr.ens.transcriptome.nividic.util.parameter.Parameters parameters)
          Test the quality of the bioassay.
 
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

QualityUnitTest

public QualityUnitTest()
                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

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

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

test

protected abstract QualityUnitTestResult test(fr.ens.transcriptome.nividic.om.BioAssay bioassay,
                                              fr.ens.transcriptome.nividic.om.BioAssay arrayList,
                                              fr.ens.transcriptome.nividic.util.parameter.Parameters parameters)
                                       throws fr.ens.transcriptome.nividic.platform.PlatformException
Test the quality of the bioassay.

Parameters:
bioassay - BioAssay to test
parameters - Parameters of the test
arrayList - The array list
Returns:
A QualityObjectResultTest Object
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.