Enum Class PreviewUrl.Type
- All Implemented Interfaces:
Serializable
,Comparable<PreviewUrl.Type>
,Constable
- Enclosing interface:
- PreviewUrl
The type of the preview url.
- Since:
- 4.2.16
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionPreview URL type to clear the preview cache.Preview URL of type file.Preview URL of type media.Preview URL of type page.Preview URL of type site. -
Method Summary
Modifier and TypeMethodDescriptionstatic PreviewUrl.Type
Create a type from the textual representation.static PreviewUrl.Type
Returns the enum constant of this class with the specified name.static PreviewUrl.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FILE
Preview URL of type file.- Since:
- 4.2.16
-
MEDIA
Preview URL of type media.- Since:
- 4.2.16
-
SITE
Preview URL of type site.- Since:
- 4.2.16
-
PAGE
Preview URL of type page.- Since:
- 4.2.16
-
CLEAR_CACHE
Preview URL type to clear the preview cache.- Since:
- 4.2.16
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
forString
Create a type from the textual representation.- Since:
- 4.2.16
-