public static enum PluginConfiguration.VersionSortStrategy extends java.lang.Enum<PluginConfiguration.VersionSortStrategy>
Enum Constant and Description |
---|
ALPHABETICAL_ASC |
ALPHABETICAL_DSC |
VERSION_ADD_DATE |
Modifier and Type | Field and Description |
---|---|
private int |
sortDirection |
Modifier and Type | Method and Description |
---|---|
int |
getSortDirection() |
static PluginConfiguration.VersionSortStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PluginConfiguration.VersionSortStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PluginConfiguration.VersionSortStrategy VERSION_ADD_DATE
public static final PluginConfiguration.VersionSortStrategy ALPHABETICAL_ASC
public static final PluginConfiguration.VersionSortStrategy ALPHABETICAL_DSC
public static PluginConfiguration.VersionSortStrategy[] values()
for (PluginConfiguration.VersionSortStrategy c : PluginConfiguration.VersionSortStrategy.values()) System.out.println(c);
public static PluginConfiguration.VersionSortStrategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getSortDirection()