public static enum LifecycleAwareCacheDataImporterExporter.ImportLifecycle extends java.lang.Enum<LifecycleAwareCacheDataImporterExporter.ImportLifecycle>
Enumeration defining the different modes for the cache data import lifecycle.| Modifier and Type | Method and Description |
|---|---|
static LifecycleAwareCacheDataImporterExporter.ImportLifecycle |
from(java.lang.String name) |
static LifecycleAwareCacheDataImporterExporter.ImportLifecycle |
getDefault() |
boolean |
isEager() |
boolean |
isLazy() |
java.lang.String |
toString() |
static LifecycleAwareCacheDataImporterExporter.ImportLifecycle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LifecycleAwareCacheDataImporterExporter.ImportLifecycle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LifecycleAwareCacheDataImporterExporter.ImportLifecycle EAGER
public static final LifecycleAwareCacheDataImporterExporter.ImportLifecycle LAZY
public static LifecycleAwareCacheDataImporterExporter.ImportLifecycle[] values()
for (LifecycleAwareCacheDataImporterExporter.ImportLifecycle c : LifecycleAwareCacheDataImporterExporter.ImportLifecycle.values()) System.out.println(c);
public static LifecycleAwareCacheDataImporterExporter.ImportLifecycle valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@NonNull public static LifecycleAwareCacheDataImporterExporter.ImportLifecycle getDefault()
@Nullable public static LifecycleAwareCacheDataImporterExporter.ImportLifecycle from(java.lang.String name)
public boolean isEager()
public boolean isLazy()
public java.lang.String toString()
toString in class java.lang.Enum<LifecycleAwareCacheDataImporterExporter.ImportLifecycle>