Class StorageBeanBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.SimpleBuildItem
one.microstream.integrations.quarkus.deployment.StorageBeanBuildItem
public final class StorageBeanBuildItem
extends io.quarkus.builder.item.SimpleBuildItem
BuildItem that is derived from BeanArchiveIndexBuildItem that keep tracks
of the class annotated with Storage.-
Constructor Summary
Constructors Constructor Description StorageBeanBuildItem(StorageClassInfo rootClassInfo) -
Method Summary
Modifier and Type Method Description List<String>getFieldsToInject()Returns the names of the fields that haveInjectwithin class annotated withStorage.Optional<Class<?>>getRootClass()Return the class whereStorageis defined or empty optional if not defined by user.
-
Constructor Details
-
Method Details
-
getRootClass
Return the class whereStorageis defined or empty optional if not defined by user.- Returns:
- Class with @Storage or empty.
-
getFieldsToInject
Returns the names of the fields that haveInjectwithin class annotated withStorage. Empty list when no annotated placed anywhere.- Returns:
- names of the fields to Inject or empty list if nothing to inject manually.
-