Package eu.isas.peptideshaker.cmd
Class ReportCLIInputBean
java.lang.Object
eu.isas.peptideshaker.cmd.ReportCLIInputBean
public class ReportCLIInputBean extends Object
This class is a simple bean wrapping the CLI parameters provided in an
Options instance.
- Author:
- Marc Vaudel, Harald Barsnes
-
Constructor Summary
Constructors Constructor Description ReportCLIInputBean(org.apache.commons.cli.CommandLine aLine)Construct a FollowUpCLIInputBean from an Apache CLI instance. -
Method Summary
Modifier and Type Method Description booleandocumentationExportNeeded()Indicates whether a documentation export is required by the user.booleanexportNeeded()Indicates whether a report export is needed.ArrayList<String>getDocumentationTypes()Returns the type of documentation required by the user.PathSettingsCLIInputBeangetPathSettingsCLIInputBean()Returns the path settings provided by the user.FilegetPsdbFile()Returns the psdb file from which the information can be obtained.StringgetReportNamePrefix()Returns the report name prefix.FilegetReportOutputFolder()Returns the report output folder.ArrayList<String>getReportTypes()Returns the types of output required by the user.FilegetZipFile()The zip file selected by the user.booleanisGzip()Returns a boolean indicating whether the export should be gzipped.booleanreportExportNeeded()Indicates 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 FollowUpCLIInputBean 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
-