Enum ThemeUsage
- java.lang.Object
-
- java.lang.Enum<ThemeUsage>
-
- org.cyclos.model.contentmanagement.themes.ThemeUsage
-
- All Implemented Interfaces:
Serializable,Comparable<ThemeUsage>
public enum ThemeUsage extends Enum<ThemeUsage>
Defines how a theme can be used by a configuration
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPGUESTSLOGGED_USERSMOBILEPAY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ThemeUsagevalueOf(String name)Returns the enum constant of this type with the specified name.static ThemeUsage[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOGGED_USERS
public static final ThemeUsage LOGGED_USERS
-
GUESTS
public static final ThemeUsage GUESTS
-
MOBILE
public static final ThemeUsage MOBILE
-
PAY
public static final ThemeUsage PAY
-
APP
public static final ThemeUsage APP
-
-
Method Detail
-
values
public static ThemeUsage[] 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 (ThemeUsage c : ThemeUsage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ThemeUsage valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-