Class EntityStat
- java.lang.Object
-
- fr.ens.biologie.genomique.aozan.collectors.stats.EntityStat
-
public class EntityStat extends Object
The class define a entity statistics which compute data collected on project, sample or others and update run data.- Since:
- 1.4
- Author:
- Sandrine Perrin
-
-
Constructor Summary
Constructors Constructor Description EntityStat(RunData runData, int projectId, int sampleId, StatisticsCollector statCollector)
Instantiates a new entity stat.EntityStat(RunData runData, int projectId, StatisticsCollector statCollector)
Instantiates a new project stat.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEntity(int sampleId)
Adds the sample.void
addRunDataProjectEntries(String prefix)
Creates the run data project.boolean
equals(Object obj)
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
EntityStat
public EntityStat(RunData runData, int projectId, StatisticsCollector statCollector) throws AozanException
Instantiates a new project stat.- Parameters:
runData
- the run dataprojectId
- the project idstatCollector
- the stat collector- Throws:
AozanException
- if an error occurs when listing source fastqscreen xml report file.
-
EntityStat
public EntityStat(RunData runData, int projectId, int sampleId, StatisticsCollector statCollector) throws AozanException
Instantiates a new entity stat.- Parameters:
runData
- the run dataprojectId
- the project idsampleId
- the sample idstatCollector
- the stat collector- Throws:
AozanException
- the aozan exception
-
-
Method Detail
-
addRunDataProjectEntries
public void addRunDataProjectEntries(String prefix) throws AozanException
Creates the run data project.- Throws:
AozanException
- if run data object has already be create.
-
addEntity
public void addEntity(int sampleId) throws AozanException
Adds the sample.- Parameters:
sampleId
- the sample id- Throws:
AozanException
- if run data object has already be create.
-
-