Class FileProcessorErrorQCEntry
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.model.sample.QCEntry
-
- ca.corefacility.bioinformatics.irida.model.sample.FileProcessorErrorQCEntry
-
@Entity public class FileProcessorErrorQCEntry extends QCEntry
QCEntry
for a failedFileProcessor
- See Also:
FileProcessor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ca.corefacility.bioinformatics.irida.model.sample.QCEntry
QCEntry.QCEntryStatus, QCEntry.QCEntryType
-
-
Constructor Summary
Constructors Constructor Description FileProcessorErrorQCEntry()
FileProcessorErrorQCEntry(SequencingObject sequencingObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addProjectSettings(Project project)
java.lang.String
getMessage()
Get the message for the qc entryQCEntry.QCEntryStatus
getStatus()
Get theQCEntry
status.QCEntry.QCEntryType
getType()
Return the type of qc entry.-
Methods inherited from class ca.corefacility.bioinformatics.irida.model.sample.QCEntry
equals, getCreatedDate, getId, getSequencingObject, hashCode
-
-
-
-
Constructor Detail
-
FileProcessorErrorQCEntry
public FileProcessorErrorQCEntry()
-
FileProcessorErrorQCEntry
public FileProcessorErrorQCEntry(SequencingObject sequencingObject)
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
Description copied from class:QCEntry
Get the message for the qc entry- Specified by:
getMessage
in classQCEntry
- Returns:
- the qc entry message to display
-
getType
public QCEntry.QCEntryType getType()
Description copied from class:QCEntry
Return the type of qc entry. This will be used for display and grouping in the UI.
-
addProjectSettings
public void addProjectSettings(Project project)
Enhance theQCEntry
with aProject
if required. This way aQCEntry
can read project's settings to decide whether it's positive or negative.- Specified by:
addProjectSettings
in classQCEntry
- Parameters:
project
- theProject
to read from
-
getStatus
public QCEntry.QCEntryStatus getStatus()
Get theQCEntry
status.- Specified by:
getStatus
in classQCEntry
- Returns:
- a
QCEntry.QCEntryStatus
-
-