Package com.jalios.jcms.application
Enum ApplicationFetcher.Mode
- java.lang.Object
-
- java.lang.Enum<ApplicationFetcher.Mode>
-
- com.jalios.jcms.application.ApplicationFetcher.Mode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ApplicationFetcher.Mode>
- Enclosing class:
- ApplicationFetcher
public static enum ApplicationFetcher.Mode extends java.lang.Enum<ApplicationFetcher.Mode>
Type mode to filter application resultALL
All applicationsMY_DEPARTMENT
Only applications of my department (Available if department have been setup)INSTALLED
Installed applications by given userSUGGESTIONS
Suggested applications for given user
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
INSTALLED
MY_DEPARTMENT
SUGGESTIONS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ApplicationFetcher.Mode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ApplicationFetcher.Mode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final ApplicationFetcher.Mode ALL
-
MY_DEPARTMENT
public static final ApplicationFetcher.Mode MY_DEPARTMENT
-
INSTALLED
public static final ApplicationFetcher.Mode INSTALLED
-
SUGGESTIONS
public static final ApplicationFetcher.Mode SUGGESTIONS
-
-
Method Detail
-
values
public static ApplicationFetcher.Mode[] 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.Mode c : ApplicationFetcher.Mode.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.Mode 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
-
-