Enum FastaExport.ExportType

java.lang.Object
java.lang.Enum<FastaExport.ExportType>
eu.isas.peptideshaker.followup.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.
  • Enum Constant Details

  • Field Details

    • index

      public final int index
      Index for the export type.
    • description

      public final String description
      Description of the export.
  • Method Details

    • values

      public static FastaExport.ExportType[] 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

      public static FastaExport.ExportType valueOf​(String name)
      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 name
      NullPointerException - if the argument is null
    • getTypeFromIndex

      public static FastaExport.ExportType getTypeFromIndex​(int index)
      Returns the export type corresponding to a given index.
      Parameters:
      index - the index of interest
      Returns:
      the export type
    • getPossibilities

      public static String[] 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

      public static String getCommandLineOptions()
      Returns a description of the command line arguments.
      Returns:
      a description of the command line arguments