public class CatalogItemBuilder<CatalogItemType extends CatalogItemDtoAbstract<?,?>>
extends java.lang.Object
Constructor and Description |
---|
CatalogItemBuilder(CatalogItemType dto) |
Modifier and Type | Method and Description |
---|---|
CatalogItemType |
build() |
CatalogItemBuilder<CatalogItemType> |
description(java.lang.String description) |
CatalogItemBuilder<CatalogItemType> |
displayName(java.lang.String displayName) |
CatalogItemBuilder<CatalogItemType> |
iconUrl(java.lang.String iconUrl) |
CatalogItemBuilder<CatalogItemType> |
libraries(CatalogLibrariesDto libraries) |
CatalogItemBuilder<CatalogItemType> |
name(java.lang.String name)
Deprecated.
since 0.7.0 use
displayName(java.lang.String) |
static CatalogItemBuilder<CatalogEntityItemDto> |
newEntity(java.lang.String registeredTypeName) |
static CatalogItemBuilder<CatalogPolicyItemDto> |
newPolicy(java.lang.String registeredTypeName) |
static CatalogItemBuilder<CatalogTemplateItemDto> |
newTemplate(java.lang.String registeredTypeName) |
CatalogItemBuilder<CatalogItemType> |
plan(java.lang.String yaml) |
CatalogItemBuilder<CatalogItemType> |
registeredTypeName(java.lang.String registeredType) |
public CatalogItemBuilder(CatalogItemType dto)
public static CatalogItemBuilder<CatalogEntityItemDto> newEntity(java.lang.String registeredTypeName)
public static CatalogItemBuilder<CatalogTemplateItemDto> newTemplate(java.lang.String registeredTypeName)
public static CatalogItemBuilder<CatalogPolicyItemDto> newPolicy(java.lang.String registeredTypeName)
public CatalogItemBuilder<CatalogItemType> registeredTypeName(java.lang.String registeredType)
@Deprecated public CatalogItemBuilder<CatalogItemType> name(java.lang.String name)
displayName(java.lang.String)
public CatalogItemBuilder<CatalogItemType> displayName(java.lang.String displayName)
public CatalogItemBuilder<CatalogItemType> description(java.lang.String description)
public CatalogItemBuilder<CatalogItemType> iconUrl(java.lang.String iconUrl)
public CatalogItemBuilder<CatalogItemType> libraries(CatalogLibrariesDto libraries)
public CatalogItemBuilder<CatalogItemType> plan(java.lang.String yaml)
public CatalogItemType build()