Package io.quarkus.registry.catalog
Class PlatformCatalogImpl.Builder
- java.lang.Object
-
- io.quarkus.registry.json.JsonEntityWithAnySupport.Builder
-
- io.quarkus.registry.catalog.PlatformCatalogImpl.Builder
-
- All Implemented Interfaces:
PlatformCatalog,PlatformCatalog.Mutable,JsonBuilder<PlatformCatalog>
- Enclosing class:
- PlatformCatalogImpl
public static class PlatformCatalogImpl.Builder extends JsonEntityWithAnySupport.Builder implements PlatformCatalog.Mutable
Builder.
-
-
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
-
-
Field Summary
-
Fields inherited from class io.quarkus.registry.json.JsonEntityWithAnySupport.Builder
metadata
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformCatalogImpl.BuilderaddPlatform(Platform platform)PlatformCatalogImplbuild()booleanequals(Object o)PlatformgetPlatform(String platformId)Collection<Platform>getPlatforms()inthashCode()PlatformCatalogImpl.BuilderremoveMetadata(String key)PlatformCatalogImpl.BuildersetMetadata(String name, Object value)PlatformCatalogImpl.BuildersetMetadata(Map<String,Object> metadata)PlatformCatalogImpl.BuildersetPlatforms(Collection<Platform> newValues)StringtoString()-
Methods inherited from class io.quarkus.registry.json.JsonEntityWithAnySupport.Builder
getMetadata
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.quarkus.registry.catalog.PlatformCatalog
getMetadata, getRecommendedPlatform, mutable
-
Methods inherited from interface io.quarkus.registry.catalog.PlatformCatalog.Mutable
persist
-
-
-
-
Method Detail
-
addPlatform
public PlatformCatalogImpl.Builder addPlatform(Platform platform)
- Specified by:
addPlatformin interfacePlatformCatalog.Mutable
-
getPlatforms
public Collection<Platform> getPlatforms()
- Specified by:
getPlatformsin interfacePlatformCatalog
-
setPlatforms
public PlatformCatalogImpl.Builder setPlatforms(Collection<Platform> newValues)
- Specified by:
setPlatformsin interfacePlatformCatalog.Mutable
-
getPlatform
public Platform getPlatform(String platformId)
- Specified by:
getPlatformin interfacePlatformCatalog
-
setMetadata
public PlatformCatalogImpl.Builder setMetadata(Map<String,Object> metadata)
- Specified by:
setMetadatain interfacePlatformCatalog.Mutable- Overrides:
setMetadatain classJsonEntityWithAnySupport.Builder
-
setMetadata
public PlatformCatalogImpl.Builder setMetadata(String name, Object value)
- Specified by:
setMetadatain interfacePlatformCatalog.Mutable- Overrides:
setMetadatain classJsonEntityWithAnySupport.Builder
-
removeMetadata
public PlatformCatalogImpl.Builder removeMetadata(String key)
- Specified by:
removeMetadatain interfacePlatformCatalog.Mutable- Overrides:
removeMetadatain classJsonEntityWithAnySupport.Builder
-
build
public PlatformCatalogImpl build()
- Specified by:
buildin interfaceJsonBuilder<PlatformCatalog>- Specified by:
buildin interfacePlatformCatalog.Mutable
-
-