Enum WebAppMediaFilter.ContextPart
- java.lang.Object
-
- java.lang.Enum<WebAppMediaFilter.ContextPart>
-
- de.hybris.platform.servicelayer.web.WebAppMediaFilter.ContextPart
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<WebAppMediaFilter.ContextPart>
- Enclosing class:
- WebAppMediaFilter
protected static enum WebAppMediaFilter.ContextPart extends java.lang.Enum<WebAppMediaFilter.ContextPart>
-
-
Field Summary
Fields Modifier and Type Field Description protected intpartNumber
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetPartNumber()static WebAppMediaFilter.ContextPartvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static WebAppMediaFilter.ContextPart[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TENANT
public static final WebAppMediaFilter.ContextPart TENANT
-
FOLDER
public static final WebAppMediaFilter.ContextPart FOLDER
-
SIZE
public static final WebAppMediaFilter.ContextPart SIZE
-
MIME
public static final WebAppMediaFilter.ContextPart MIME
-
LOCATION
public static final WebAppMediaFilter.ContextPart LOCATION
-
LOCATION_HASH
public static final WebAppMediaFilter.ContextPart LOCATION_HASH
-
-
Method Detail
-
values
public static WebAppMediaFilter.ContextPart[] 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 (WebAppMediaFilter.ContextPart c : WebAppMediaFilter.ContextPart.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WebAppMediaFilter.ContextPart 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
-
getPartNumber
public int getPartNumber()
-
-