Package io.quarkus.registry.catalog
Class CategoryImpl.Builder
- java.lang.Object
-
- io.quarkus.registry.catalog.CategoryImpl.Builder
-
- All Implemented Interfaces:
Category,Category.Mutable,JsonBuilder<Category>
- Enclosing class:
- CategoryImpl
public static class CategoryImpl.Builder extends Object implements Category.Mutable
Builder.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.quarkus.registry.catalog.Category
Category.Mutable
-
Nested classes/interfaces inherited from interface io.quarkus.registry.json.JsonBuilder
JsonBuilder.JsonBuilderSerializer<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CategoryImplbuild()booleanequals(Object o)StringgetDescription()StringgetId()Map<String,Object>getMetadata()StringgetName()inthashCode()CategoryImpl.BuilderremoveMetadata(String key)CategoryImpl.BuildersetDescription(String description)CategoryImpl.BuildersetId(String id)CategoryImpl.BuildersetMetadata(String name, Object value)CategoryImpl.BuildersetMetadata(Map<String,Object> newValues)CategoryImpl.BuildersetName(String name)StringtoString()
-
-
-
Method Detail
-
setId
public CategoryImpl.Builder setId(String id)
- Specified by:
setIdin interfaceCategory.Mutable
-
setName
public CategoryImpl.Builder setName(String name)
- Specified by:
setNamein interfaceCategory.Mutable
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceCategory
-
setDescription
public CategoryImpl.Builder setDescription(String description)
- Specified by:
setDescriptionin interfaceCategory.Mutable
-
getMetadata
public Map<String,Object> getMetadata()
- Specified by:
getMetadatain interfaceCategory
-
setMetadata
public CategoryImpl.Builder setMetadata(Map<String,Object> newValues)
- Specified by:
setMetadatain interfaceCategory.Mutable
-
setMetadata
public CategoryImpl.Builder setMetadata(String name, Object value)
- Specified by:
setMetadatain interfaceCategory.Mutable
-
removeMetadata
public CategoryImpl.Builder removeMetadata(String key)
- Specified by:
removeMetadatain interfaceCategory.Mutable
-
build
public CategoryImpl build()
- Specified by:
buildin interfaceCategory.Mutable- Specified by:
buildin interfaceJsonBuilder<Category>
-
-