public enum PluginDir extends Enum<PluginDir>
Modifier and Type | Method and Description |
---|---|
String |
getLabel()
Returns a label for this directory to be used by GUI and loggers.
|
static PluginDir[] |
inverseSearchOrder()
Returns extensions directories in the inverse plugin search order.
|
static PluginDir[] |
searchOrder()
Returns extensions directories in the plugin search order (builtin - user - group - system).
|
static PluginDir[] |
sgu()
Returns extensions directories in the inverse plugin search order, excluding BUILTIN.
|
static PluginDir[] |
ugs()
Returns extensions directories in the plugin search order, excluding BUILTIN.
|
static PluginDir |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PluginDir[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PluginDir BUILTIN
public static final PluginDir SYSTEM
public static final PluginDir GROUP
public static final PluginDir USER
public static PluginDir[] values()
for (PluginDir c : PluginDir.values()) System.out.println(c);
public static PluginDir valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getLabel()
public static PluginDir[] searchOrder()
public static PluginDir[] inverseSearchOrder()
public static PluginDir[] sgu()
public static PluginDir[] ugs()
Copyright © 2000–2017 FreeHEP. All rights reserved.