Enum PackageUtil.ViewType
- java.lang.Object
-
- java.lang.Enum<PackageUtil.ViewType>
-
- com.composum.sling.core.pckgmgr.jcrpckg.util.PackageUtil.ViewType
-
- All Implemented Interfaces:
Serializable,Comparable<PackageUtil.ViewType>
- Enclosing class:
- PackageUtil
public static enum PackageUtil.ViewType extends Enum<PackageUtil.ViewType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PackageUtil.ViewTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PackageUtil.ViewType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
packages
public static final PackageUtil.ViewType packages
-
registry
public static final PackageUtil.ViewType registry
-
group
public static final PackageUtil.ViewType group
-
jcrpckg
public static final PackageUtil.ViewType jcrpckg
-
regpckg
public static final PackageUtil.ViewType regpckg
-
version
public static final PackageUtil.ViewType version
-
-
Method Detail
-
values
public static PackageUtil.ViewType[] 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 (PackageUtil.ViewType c : PackageUtil.ViewType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PackageUtil.ViewType 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
-
-