Package eu.isas.peptideshaker.followup
Enum FastaExport.ExportType
- All Implemented Interfaces:
Serializable,Comparable<FastaExport.ExportType>,java.lang.constant.Constable
- Enclosing class:
- FastaExport
public static enum FastaExport.ExportType extends Enum<FastaExport.ExportType>
Enum of the different types of export implemented.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description non_validatedExports accessions which cannot be mapped to a protein group.validated_all_accessionsExports all accessions of validated protein groups.validated_main_accessionExports the main accession of validated protein groups. -
Field Summary
Fields Modifier and Type Field Description StringdescriptionDescription of the export.intindexIndex for the export type. -
Method Summary
Modifier and Type Method Description static StringgetCommandLineOptions()Returns a description of the command line arguments.static String[]getPossibilities()Returns all possibilities descriptions in an array of string.static FastaExport.ExportTypegetTypeFromIndex(int index)Returns the export type corresponding to a given index.static FastaExport.ExportTypevalueOf(String name)Returns the enum constant of this type with the specified name.static FastaExport.ExportType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
validated_main_accession
Exports the main accession of validated protein groups. -
validated_all_accessions
Exports all accessions of validated protein groups. -
non_validated
Exports accessions which cannot be mapped to a protein group.
-
-
Field Details
-
index
public final int indexIndex for the export type. -
description
Description of the export.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getTypeFromIndex
Returns the export type corresponding to a given index.- Parameters:
index- the index of interest- Returns:
- the export type
-
getPossibilities
Returns all possibilities descriptions in an array of string. Tip: the position in the array corresponds to the type index.- Returns:
- all possibilities descriptions in an array of string
-
getCommandLineOptions
Returns a description of the command line arguments.- Returns:
- a description of the command line arguments
-