Package com.jalios.jcms.application
Enum ApplicationFetcher.SortMode
- java.lang.Object
-
- java.lang.Enum<ApplicationFetcher.SortMode>
-
- com.jalios.jcms.application.ApplicationFetcher.SortMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ApplicationFetcher.SortMode>
- Enclosing class:
- ApplicationFetcher
public static enum ApplicationFetcher.SortMode extends java.lang.Enum<ApplicationFetcher.SortMode>
Sort mode that can be used to sort your applicationsPOPULARITY
Popularity based on number of installationsTITLE
Title of the applicationPDATE
Publish date of the application
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PDATE
POPULARITY
TITLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ApplicationFetcher.SortMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ApplicationFetcher.SortMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POPULARITY
public static final ApplicationFetcher.SortMode POPULARITY
-
TITLE
public static final ApplicationFetcher.SortMode TITLE
-
PDATE
public static final ApplicationFetcher.SortMode PDATE
-
-
Method Detail
-
values
public static ApplicationFetcher.SortMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ApplicationFetcher.SortMode c : ApplicationFetcher.SortMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApplicationFetcher.SortMode valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-