Package io.quarkus.registry.catalog
Interface PlatformCatalog.Mutable
- All Superinterfaces:
JsonBuilder<PlatformCatalog>,PlatformCatalog
- All Known Implementing Classes:
PlatformCatalogImpl.Builder
- Enclosing interface:
PlatformCatalog
public static interface PlatformCatalog.Mutable
extends PlatformCatalog, JsonBuilder<PlatformCatalog>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.registry.json.JsonBuilder
JsonBuilder.JsonBuilderSerializer<T>Nested classes/interfaces inherited from interface io.quarkus.registry.catalog.PlatformCatalog
PlatformCatalog.Mutable -
Method Summary
Modifier and TypeMethodDescriptionaddPlatform(Platform platform) build()default voidPersist this configuration to the specified file.removeMetadata(String key) setMetadata(String key, Object value) setMetadata(Map<String, Object> metadata) setPlatforms(Collection<Platform> newValues) Methods inherited from interface io.quarkus.registry.catalog.PlatformCatalog
getMetadata, getPlatform, getPlatforms, getRecommendedPlatform, mutable
-
Method Details
-
addPlatform
-
setPlatforms
-
setMetadata
-
setMetadata
-
removeMetadata
-
build
PlatformCatalog build()- Specified by:
buildin interfaceJsonBuilder<PlatformCatalog>
-
persist
Description copied from interface:PlatformCatalogPersist this configuration to the specified file.- Specified by:
persistin interfacePlatformCatalog- Parameters:
p- Target path- Throws:
IOException- if the specified file can not be written to.
-