Package io.quarkus.registry.catalog
Class PlatformImpl.Builder
- java.lang.Object
-
- io.quarkus.registry.json.JsonEntityWithAnySupport.Builder
-
- io.quarkus.registry.catalog.PlatformImpl.Builder
-
- All Implemented Interfaces:
Platform,Platform.Mutable,JsonBuilder<Platform>
- Enclosing class:
- PlatformImpl
public static class PlatformImpl.Builder extends JsonEntityWithAnySupport.Builder implements Platform.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.Platform
Platform.Mutable
-
-
Field Summary
-
Fields inherited from class io.quarkus.registry.json.JsonEntityWithAnySupport.Builder
metadata
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformImpl.BuilderaddStream(PlatformStream stream)PlatformImplbuild()booleanequals(Object o)StringgetName()StringgetPlatformKey()PlatformStreamgetStream(String id)Collection<PlatformStream>getStreams()inthashCode()PlatformImpl.BuilderremoveMetadata(String key)PlatformImpl.BuildersetMetadata(String name, Object value)PlatformImpl.BuildersetMetadata(Map<String,Object> metadata)PlatformImpl.BuildersetName(String name)PlatformImpl.BuildersetPlatformKey(String platformKey)PlatformImpl.BuildersetStreams(Collection<PlatformStream> newStreams)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.Platform
getMetadata, getRecommendedStream, mutable
-
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(Platform source)
-
-
Method Detail
-
getPlatformKey
public String getPlatformKey()
- Specified by:
getPlatformKeyin interfacePlatform
-
setPlatformKey
public PlatformImpl.Builder setPlatformKey(String platformKey)
- Specified by:
setPlatformKeyin interfacePlatform.Mutable
-
setName
public PlatformImpl.Builder setName(String name)
- Specified by:
setNamein interfacePlatform.Mutable
-
getStreams
public Collection<PlatformStream> getStreams()
- Specified by:
getStreamsin interfacePlatform
-
getStream
public PlatformStream getStream(String id)
-
setStreams
public PlatformImpl.Builder setStreams(Collection<PlatformStream> newStreams)
- Specified by:
setStreamsin interfacePlatform.Mutable
-
addStream
public PlatformImpl.Builder addStream(PlatformStream stream)
- Specified by:
addStreamin interfacePlatform.Mutable
-
setMetadata
public PlatformImpl.Builder setMetadata(Map<String,Object> metadata)
- Specified by:
setMetadatain interfacePlatform.Mutable- Overrides:
setMetadatain classJsonEntityWithAnySupport.Builder
-
setMetadata
public PlatformImpl.Builder setMetadata(String name, Object value)
- Overrides:
setMetadatain classJsonEntityWithAnySupport.Builder
-
removeMetadata
public PlatformImpl.Builder removeMetadata(String key)
- Overrides:
removeMetadatain classJsonEntityWithAnySupport.Builder
-
build
public PlatformImpl build()
- Specified by:
buildin interfaceJsonBuilder<Platform>- Specified by:
buildin interfacePlatform.Mutable
-
-