Debian Codegraph @

uk/ac/babraham/FastQC/Modules/QCModule.java

raw symbols SCIP
1 /**
2 * Copyright Copyright 2010-17 Simon Andrews
3 *
4 * This file is part of FastQC.
5 *
6 * FastQC is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * FastQC is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with FastQC; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20 package uk.ac.babraham.FastQC.Modules;
21
22
23 import java.io.IOException;
24
25 import javax.swing.JPanel;
26 import javax.xml.stream.XMLStreamException;
27
28 import uk.ac.babraham.FastQC.Report.HTMLReportArchive;
29 import uk.ac.babraham.FastQC.Sequence.Sequence;
30
31 public interface QCModule {
32
33 public void processSequence(Sequence sequence);
34
35 public JPanel getResultsPanel();
36
37 public String name ();
38
39 public String description ();
40
41 public void reset ();
42
43 public boolean raisesError();
44
45 public boolean raisesWarning();
46
47 public boolean ignoreFilteredSequences();
48
49 /**
50 * Allows you to say that this module shouldn't be included in the final report.
51 * Useful for modules which have a use under some circumstances but not others.
52 * @return
53 */
54 public boolean ignoreInReport();
55
56 public void makeReport(HTMLReportArchive report) throws XMLStreamException,IOException;
57
58
59 }