Class ConsoleCustomization
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.ConsoleCustomization
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ConsoleCustomizationBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ConsoleCustomization extends Object implements io.fabric8.kubernetes.api.builder.Editable<ConsoleCustomizationBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ConsoleCustomization defines a list of optional configuration for the console UI.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConsoleCustomization()No args constructor for use in serializationConsoleCustomization(AddPage addPage, String brand, List<Capability> capabilities, io.fabric8.openshift.api.model.config.v1.ConfigMapFileReference customLogoFile, String customProductName, DeveloperConsoleCatalogCustomization developerCatalog, String documentationBaseURL, List<Perspective> perspectives, ProjectAccess projectAccess, QuickStarts quickStarts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsoleCustomizationBuilderedit()Map<String,Object>getAdditionalProperties()AddPagegetAddPage()ConsoleCustomization defines a list of optional configuration for the console UI.StringgetBrand()brand is the default branding of the web console which can be overridden by providing the brand field.List<Capability>getCapabilities()capabilities defines an array of capabilities that can be interacted with in the console UI.io.fabric8.openshift.api.model.config.v1.ConfigMapFileReferencegetCustomLogoFile()ConsoleCustomization defines a list of optional configuration for the console UI.StringgetCustomProductName()customProductName is the name that will be displayed in page titles, logo alt text, and the about dialog instead of the normal OpenShift product name.DeveloperConsoleCatalogCustomizationgetDeveloperCatalog()ConsoleCustomization defines a list of optional configuration for the console UI.StringgetDocumentationBaseURL()documentationBaseURL links to external documentation are shown in various sections of the web console.List<Perspective>getPerspectives()perspectives allows enabling/disabling of perspective(s) that user can see in the Perspective switcher dropdown.ProjectAccessgetProjectAccess()ConsoleCustomization defines a list of optional configuration for the console UI.QuickStartsgetQuickStarts()ConsoleCustomization defines a list of optional configuration for the console UI.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAddPage(AddPage addPage)ConsoleCustomization defines a list of optional configuration for the console UI.voidsetBrand(String brand)brand is the default branding of the web console which can be overridden by providing the brand field.voidsetCapabilities(List<Capability> capabilities)capabilities defines an array of capabilities that can be interacted with in the console UI.voidsetCustomLogoFile(io.fabric8.openshift.api.model.config.v1.ConfigMapFileReference customLogoFile)ConsoleCustomization defines a list of optional configuration for the console UI.voidsetCustomProductName(String customProductName)customProductName is the name that will be displayed in page titles, logo alt text, and the about dialog instead of the normal OpenShift product name.voidsetDeveloperCatalog(DeveloperConsoleCatalogCustomization developerCatalog)ConsoleCustomization defines a list of optional configuration for the console UI.voidsetDocumentationBaseURL(String documentationBaseURL)documentationBaseURL links to external documentation are shown in various sections of the web console.voidsetPerspectives(List<Perspective> perspectives)perspectives allows enabling/disabling of perspective(s) that user can see in the Perspective switcher dropdown.voidsetProjectAccess(ProjectAccess projectAccess)ConsoleCustomization defines a list of optional configuration for the console UI.voidsetQuickStarts(QuickStarts quickStarts)ConsoleCustomization defines a list of optional configuration for the console UI.ConsoleCustomizationBuildertoBuilder()
-
-
-
Constructor Detail
-
ConsoleCustomization
public ConsoleCustomization()
No args constructor for use in serialization
-
ConsoleCustomization
public ConsoleCustomization(AddPage addPage, String brand, List<Capability> capabilities, io.fabric8.openshift.api.model.config.v1.ConfigMapFileReference customLogoFile, String customProductName, DeveloperConsoleCatalogCustomization developerCatalog, String documentationBaseURL, List<Perspective> perspectives, ProjectAccess projectAccess, QuickStarts quickStarts)
-
-
Method Detail
-
getAddPage
public AddPage getAddPage()
ConsoleCustomization defines a list of optional configuration for the console UI.
-
setAddPage
public void setAddPage(AddPage addPage)
ConsoleCustomization defines a list of optional configuration for the console UI.
-
getBrand
public String getBrand()
brand is the default branding of the web console which can be overridden by providing the brand field. There is a limited set of specific brand options. This field controls elements of the console such as the logo. Invalid value will prevent a console rollout.
-
setBrand
public void setBrand(String brand)
brand is the default branding of the web console which can be overridden by providing the brand field. There is a limited set of specific brand options. This field controls elements of the console such as the logo. Invalid value will prevent a console rollout.
-
getCapabilities
public List<Capability> getCapabilities()
capabilities defines an array of capabilities that can be interacted with in the console UI. Each capability defines a visual state that can be interacted with the console to render in the UI. Available capabilities are LightspeedButton and GettingStartedBanner. Each of the available capabilities may appear only once in the list.
-
setCapabilities
public void setCapabilities(List<Capability> capabilities)
capabilities defines an array of capabilities that can be interacted with in the console UI. Each capability defines a visual state that can be interacted with the console to render in the UI. Available capabilities are LightspeedButton and GettingStartedBanner. Each of the available capabilities may appear only once in the list.
-
getCustomLogoFile
public io.fabric8.openshift.api.model.config.v1.ConfigMapFileReference getCustomLogoFile()
ConsoleCustomization defines a list of optional configuration for the console UI.
-
setCustomLogoFile
public void setCustomLogoFile(io.fabric8.openshift.api.model.config.v1.ConfigMapFileReference customLogoFile)
ConsoleCustomization defines a list of optional configuration for the console UI.
-
getCustomProductName
public String getCustomProductName()
customProductName is the name that will be displayed in page titles, logo alt text, and the about dialog instead of the normal OpenShift product name.
-
setCustomProductName
public void setCustomProductName(String customProductName)
customProductName is the name that will be displayed in page titles, logo alt text, and the about dialog instead of the normal OpenShift product name.
-
getDeveloperCatalog
public DeveloperConsoleCatalogCustomization getDeveloperCatalog()
ConsoleCustomization defines a list of optional configuration for the console UI.
-
setDeveloperCatalog
public void setDeveloperCatalog(DeveloperConsoleCatalogCustomization developerCatalog)
ConsoleCustomization defines a list of optional configuration for the console UI.
-
getDocumentationBaseURL
public String getDocumentationBaseURL()
documentationBaseURL links to external documentation are shown in various sections of the web console. Providing documentationBaseURL will override the default documentation URL. Invalid value will prevent a console rollout.
-
setDocumentationBaseURL
public void setDocumentationBaseURL(String documentationBaseURL)
documentationBaseURL links to external documentation are shown in various sections of the web console. Providing documentationBaseURL will override the default documentation URL. Invalid value will prevent a console rollout.
-
getPerspectives
public List<Perspective> getPerspectives()
perspectives allows enabling/disabling of perspective(s) that user can see in the Perspective switcher dropdown.
-
setPerspectives
public void setPerspectives(List<Perspective> perspectives)
perspectives allows enabling/disabling of perspective(s) that user can see in the Perspective switcher dropdown.
-
getProjectAccess
public ProjectAccess getProjectAccess()
ConsoleCustomization defines a list of optional configuration for the console UI.
-
setProjectAccess
public void setProjectAccess(ProjectAccess projectAccess)
ConsoleCustomization defines a list of optional configuration for the console UI.
-
getQuickStarts
public QuickStarts getQuickStarts()
ConsoleCustomization defines a list of optional configuration for the console UI.
-
setQuickStarts
public void setQuickStarts(QuickStarts quickStarts)
ConsoleCustomization defines a list of optional configuration for the console UI.
-
edit
public ConsoleCustomizationBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ConsoleCustomizationBuilder>
-
toBuilder
public ConsoleCustomizationBuilder toBuilder()
-
-