Class NativeConfigurationRegistry.ResourcesConfiguration
- java.lang.Object
-
- org.springframework.aot.context.bootstrap.generator.infrastructure.nativex.NativeConfigurationRegistry.ResourcesConfiguration
-
- Enclosing class:
- NativeConfigurationRegistry
public static final class NativeConfigurationRegistry.ResourcesConfiguration extends java.lang.Object
Configure the needs for runtime resources.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NativeConfigurationRegistry.ResourcesConfiguration
add(NativeResourcesEntry resource)
Register the specifiedresource
.org.springframework.nativex.domain.resources.ResourcesDescriptor
toResourcesDescriptor()
Return theResourcesDescriptor
of this registry.
-
-
-
Method Detail
-
add
public NativeConfigurationRegistry.ResourcesConfiguration add(NativeResourcesEntry resource)
Register the specifiedresource
.- Parameters:
resource
- the resource that should be available- Returns:
- this for method chaining
-
toResourcesDescriptor
public org.springframework.nativex.domain.resources.ResourcesDescriptor toResourcesDescriptor()
Return theResourcesDescriptor
of this registry.- Returns:
- the resources entries in the registry, as a
ResourcesDescriptor
instance
-
-