Uses of Interface
io.annot8.core.components.Resource
-
Packages that use Resource Package Description io.annot8.core.capabilities This package contains the core interface for capabilities.io.annot8.core.context This package contains the core interface for the context object. -
-
Uses of Resource in io.annot8.core.capabilities
Methods in io.annot8.core.capabilities that return types with arguments of type Resource Modifier and Type Method Description Class<? extends Resource>ResourceCapability. getType()Get the resource type created/deleted/processedMethod parameters in io.annot8.core.capabilities with type arguments of type Resource Modifier and Type Method Description default Capabilities.BuilderCapabilities.Builder. usesResource(Class<? extends Resource> clazz, boolean optional)Declare that the component will use a resourceConstructor parameters in io.annot8.core.capabilities with type arguments of type Resource Constructor Description ResourceCapability(Class<? extends Resource> type, boolean optional)Create from details -
Uses of Resource in io.annot8.core.context
Methods in io.annot8.core.context with type parameters of type Resource Modifier and Type Method Description default <T extends Resource>
Optional<T>Context. getResource(Class<T> clazz)Return any resource (if there is one) of the specified type<T extends Resource>
Optional<T>Context. getResource(String key, Class<T> clazz)Find the resource of the given type associated with the given key<T extends Resource>
Stream<T>Context. getResources(Class<T> clazz)Return all resources of the specified typeMethod parameters in io.annot8.core.context with type arguments of type Resource Modifier and Type Method Description default Stream<String>Context. getResourceKeys(Class<? extends Resource> clazz)List all the resource keys contained within this context that are of the specified type
-