Package net.bioclipse.managers
Class ReportManager
java.lang.Object
net.bioclipse.managers.ReportManager
- All Implemented Interfaces:
IBactingManager
,net.bioclipse.managers.business.IBioclipseManager
Bioclipse manager providing reporting functionality. Reports are
created as
IReport
which can be serialized as HTML.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasHTML
(net.bioclipse.report.data.IReport report) Serializes the content of the given report into HTML.asMarkdown
(net.bioclipse.report.data.IReport report) Serializes the content of the given report into Markdown.net.bioclipse.report.data.IReport
Creates a newIReport
object.doi()
Lists the DOIs of the articles associated to this manager.Gives a short one word name of the manager used as variable name when scripting.
-
Constructor Details
-
ReportManager
Creates a newReportManager
.- Parameters:
workspaceRoot
- location of the workspace, e.g. "."
-
-
Method Details
-
getManagerName
Gives a short one word name of the manager used as variable name when scripting.- Specified by:
getManagerName
in interfacenet.bioclipse.managers.business.IBioclipseManager
-
createReport
public net.bioclipse.report.data.IReport createReport()Creates a newIReport
object.- Returns:
- an empty
IReport
-
asHTML
Serializes the content of the given report into HTML.- Parameters:
report
- anIReport
- Returns:
- a HTML document as
String
-
asMarkdown
Serializes the content of the given report into Markdown.- Parameters:
report
- anIReport
- Returns:
- a Markdown document as
String
-
doi
Description copied from interface:IBactingManager
Lists the DOIs of the articles associated to this manager.- Specified by:
doi
in interfaceIBactingManager
- Returns:
- a
List
of String with DOIs
-