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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PlatformCatalog.MutableaddPlatform(Platform platform)PlatformCatalogbuild()default voidpersist(Path p)Persist this configuration to the specified file.PlatformCatalog.MutableremoveMetadata(String key)PlatformCatalog.MutablesetMetadata(String key, Object value)PlatformCatalog.MutablesetMetadata(Map<String,Object> metadata)PlatformCatalog.MutablesetPlatforms(Collection<Platform> newValues)-
Methods inherited from interface io.quarkus.registry.catalog.PlatformCatalog
getMetadata, getPlatform, getPlatforms, getRecommendedPlatform, mutable
-
-
-
-
Method Detail
-
addPlatform
PlatformCatalog.Mutable addPlatform(Platform platform)
-
setPlatforms
PlatformCatalog.Mutable setPlatforms(Collection<Platform> newValues)
-
setMetadata
PlatformCatalog.Mutable setMetadata(Map<String,Object> metadata)
-
setMetadata
PlatformCatalog.Mutable setMetadata(String key, Object value)
-
removeMetadata
PlatformCatalog.Mutable removeMetadata(String key)
-
build
PlatformCatalog build()
- Specified by:
buildin interfaceJsonBuilder<PlatformCatalog>
-
persist
default void persist(Path p) throws IOException
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.
-
-