public interface IBeforeImageCache
| Modifier and Type | Method and Description |
|---|---|
<T> T |
createImage(Class<T> classType,
T instance,
boolean loaded) |
<T> T |
findBeforeImage(T source)
Returns any image, even if uninitialized.
|
<T> T |
getBeforeImage(T instance)
Returns an image and ensures it's initialized.
|
<T> boolean |
isLoaded(T beforeImage) |
boolean |
wasNew() |
@Nonnull <T> T createImage(@Nonnull Class<T> classType, @Nonnull T instance, boolean loaded) throws Exception
Exceptionboolean wasNew()
@Nullable <T> T findBeforeImage(@Nonnull T source)
source - @Nullable <T> T getBeforeImage(@Nonnull T instance)
<T> boolean isLoaded(@Nonnull T beforeImage)
Copyright © 2017 etc.to. All rights reserved.