Enum Class CachingStrategy

java.lang.Object
java.lang.Enum<CachingStrategy>
com.liferay.portal.kernel.frontend.hashed.files.CachingStrategy
All Implemented Interfaces:
Serializable, Comparable<CachingStrategy>, Constable

public enum CachingStrategy extends Enum<CachingStrategy>
Author:
Iván Zaera Avellón
  • Enum Constant Details

    • DO_NOT_USE_HASHES

      public static final CachingStrategy DO_NOT_USE_HASHES
    • USE_ONE_HASH_PER_FILE

      public static final CachingStrategy USE_ONE_HASH_PER_FILE
    • USE_ONE_HASH_PER_WEB_CONTEXT

      public static final CachingStrategy USE_ONE_HASH_PER_WEB_CONTEXT
  • Method Details

    • values

      public static CachingStrategy[] 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 CachingStrategy 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
    • fromValue

      public static CachingStrategy fromValue(String value)
    • getValue

      public String getValue()