Enum Class PreviewUrl.Type

java.lang.Object
java.lang.Enum<PreviewUrl.Type>
de.espirit.firstspirit.base.store.PreviewUrl.Type
All Implemented Interfaces:
Serializable, Comparable<PreviewUrl.Type>, Constable
Enclosing interface:
PreviewUrl

public static enum PreviewUrl.Type extends Enum<PreviewUrl.Type>
The type of the preview url.
Since:
4.2.16
  • Enum Constant Details

    • FILE

      public static final PreviewUrl.Type FILE
      Preview URL of type file.
      Since:
      4.2.16
    • MEDIA

      public static final PreviewUrl.Type MEDIA
      Preview URL of type media.
      Since:
      4.2.16
    • SITE

      public static final PreviewUrl.Type SITE
      Preview URL of type site.
      Since:
      4.2.16
    • PAGE

      public static final PreviewUrl.Type PAGE
      Preview URL of type page.
      Since:
      4.2.16
    • CLEAR_CACHE

      public static final PreviewUrl.Type CLEAR_CACHE
      Preview URL type to clear the preview cache.
      Since:
      4.2.16
  • Method Details

    • values

      public static PreviewUrl.Type[] 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

      public static PreviewUrl.Type valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • forString

      public static PreviewUrl.Type forString(String type)
      Create a type from the textual representation.
      Since:
      4.2.16