Package eu.isas.searchgui.parameters
Enum SearchGUIPathParameters.SearchGUIPathKey
java.lang.Object
java.lang.Enum<SearchGUIPathParameters.SearchGUIPathKey>
eu.isas.searchgui.parameters.SearchGUIPathParameters.SearchGUIPathKey
- All Implemented Interfaces:
com.compomics.software.settings.PathKey,Serializable,Comparable<SearchGUIPathParameters.SearchGUIPathKey>,java.lang.constant.Constable
- Enclosing class:
SearchGUIPathParameters
public static enum SearchGUIPathParameters.SearchGUIPathKey
extends Enum<SearchGUIPathParameters.SearchGUIPathKey>
implements com.compomics.software.settings.PathKey
Enum of the paths which can be set in SearchGUI.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe folder to use for cms files.Directory where SearchGUI temporary files should be stored.Folder where search engine temporary files should be stored. -
Method Summary
Modifier and TypeMethodDescriptiongetId()getKeyFromId(String id) Returns the key from its id.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
tempDirectory
Directory where SearchGUI temporary files should be stored. -
tempSearchEngineDirectory
Folder where search engine temporary files should be stored. -
cmsFolder
The folder to use for cms files.
-
-
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
-
getKeyFromId
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
- Specified by:
getIdin interfacecom.compomics.software.settings.PathKey
-
getDescription
- Specified by:
getDescriptionin interfacecom.compomics.software.settings.PathKey
-