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 Object
Configure the needs for runtime resources.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NativeConfigurationRegistry.ResourcesConfigurationadd(NativeResourcesEntry resource)Register the specifiedresource.org.springframework.nativex.domain.resources.ResourcesDescriptortoResourcesDescriptor()Return theResourcesDescriptorof 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 theResourcesDescriptorof this registry.- Returns:
- the resources entries in the registry, as a
ResourcesDescriptorinstance
-
-