Enum ReporterPathPreferences.ReporterPathKey

java.lang.Object
java.lang.Enum<ReporterPathPreferences.ReporterPathKey>
eu.isas.reporter.preferences.ReporterPathPreferences.ReporterPathKey
All Implemented Interfaces:
com.compomics.software.settings.PathKey, Serializable, Comparable<ReporterPathPreferences.ReporterPathKey>, java.lang.constant.Constable
Enclosing class:
ReporterPathPreferences

public static enum ReporterPathPreferences.ReporterPathKey extends Enum<ReporterPathPreferences.ReporterPathKey> implements com.compomics.software.settings.PathKey
Enum of the paths which can be set in Reporter.
  • Enum Constant Details

  • Method Details

    • values

      public static ReporterPathPreferences.ReporterPathKey[] 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 ReporterPathPreferences.ReporterPathKey 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
    • getKeyFromId

      public static ReporterPathPreferences.ReporterPathKey getKeyFromId(String id)
      Returns the key from its id. Null if not found.
      Parameters:
      id - the id of the key of interest
      Returns:
      the key of interest
    • getId

      public String getId()
      Specified by:
      getId in interface com.compomics.software.settings.PathKey
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface com.compomics.software.settings.PathKey