CacheType Class

public final class CacheType
extends ExpandableStringEnum<CacheType>

The level at which the content needs to be cached.

Field Summary

Modifier and Type Field and Description
static final CacheType ALL

Static value All for CacheType.

Constructor Summary

Constructor Description
CacheType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CacheType value.

Method Summary

Modifier and Type Method and Description
static CacheType fromString(String name)

Creates or finds a CacheType from its string representation.

static Collection<CacheType> values()

Gets known CacheType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALL

public static final CacheType ALL

Static value All for CacheType.

Constructor Details

CacheType

@Deprecated
public CacheType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CacheType value.

Method Details

fromString

public static CacheType fromString(String name)

Creates or finds a CacheType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding CacheType.

values

public static Collection<CacheType> values()

Gets known CacheType values.

Returns:

known CacheType values.

Applies to