Package eu.isas.peptideshaker.cmd
Class ReportCLIInputBean
java.lang.Object
eu.isas.peptideshaker.cmd.ReportCLIInputBean
This class is a simple bean wrapping the CLI parameters provided in an
Options instance.
- Author:
- Marc Vaudel, Harald Barsnes
-
Constructor Summary
ConstructorsConstructorDescriptionReportCLIInputBean(org.apache.commons.cli.CommandLine aLine) Construct a ReportCLIInputBean from an Apache CLI instance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether a documentation export is required by the user.booleanIndicates whether a report export is needed.Returns the type of documentation required by the user.Returns the path settings provided by the user.Returns the psdb file from which the information can be obtained.Returns the report name prefix.Returns the report output folder.Returns the types of output required by the user.The zip file selected by the user.booleanisGzip()Returns a boolean indicating whether the export should be gzipped.booleanIndicates whether a report export is required by the user.voidsetReportNamePrefix(String reportNamePrefix) Set the report name prefix.voidsetReportOutputFolder(File outputFolder) Set the report output folder.
-
Constructor Details
-
ReportCLIInputBean
public ReportCLIInputBean(org.apache.commons.cli.CommandLine aLine) Construct a ReportCLIInputBean from an Apache CLI instance.- Parameters:
aLine- the command line
-
-
Method Details
-
getPsdbFile
Returns the psdb file from which the information can be obtained.- Returns:
- the psdb file from which the information can be obtained
-
getZipFile
The zip file selected by the user. Null if not set.- Returns:
- zip file selected by the user
-
getReportOutputFolder
Returns the report output folder.- Returns:
- the output folder
-
setReportOutputFolder
Set the report output folder.- Parameters:
outputFolder- the report output folder
-
getReportNamePrefix
Returns the report name prefix.- Returns:
- the report name prefix
-
setReportNamePrefix
Set the report name prefix.- Parameters:
reportNamePrefix- the report output folder
-
getReportTypes
Returns the types of output required by the user.- Returns:
- the types of output
-
getDocumentationTypes
Returns the type of documentation required by the user.- Returns:
- the type of documentation types
-
exportNeeded
public boolean exportNeeded()Indicates whether a report export is needed.- Returns:
- true if a report export is needed
-
reportExportNeeded
public boolean reportExportNeeded()Indicates whether a report export is required by the user.- Returns:
- true if a report export is required
-
documentationExportNeeded
public boolean documentationExportNeeded()Indicates whether a documentation export is required by the user.- Returns:
- true if documentation export is require
-
getPathSettingsCLIInputBean
Returns the path settings provided by the user.- Returns:
- the path settings provided by the user
-
isGzip
public boolean isGzip()Returns a boolean indicating whether the export should be gzipped.- Returns:
- a boolean indicating whether the export should be gzipped
-