Class DeveloperConsoleCatalogTypes

    • Constructor Detail

      • DeveloperConsoleCatalogTypes

        public DeveloperConsoleCatalogTypes()
        No args constructor for use in serialization
      • DeveloperConsoleCatalogTypes

        public DeveloperConsoleCatalogTypes​(List<String> disabled,
                                            List<String> enabled,
                                            String state)
    • Method Detail

      • getDisabled

        public List<String> getDisabled()
        disabled is a list of developer catalog types (sub-catalogs IDs) that are not shown to users. Types (sub-catalogs) are added via console plugins, the available types (sub-catalog IDs) are available in the console on the cluster configuration page, or when editing the YAML in the console. Example: "Devfile", "HelmChart", "BuilderImage" If the list is empty or all the available sub-catalog types are added, then the complete developer catalog should be hidden.
      • setDisabled

        public void setDisabled​(List<String> disabled)
        disabled is a list of developer catalog types (sub-catalogs IDs) that are not shown to users. Types (sub-catalogs) are added via console plugins, the available types (sub-catalog IDs) are available in the console on the cluster configuration page, or when editing the YAML in the console. Example: "Devfile", "HelmChart", "BuilderImage" If the list is empty or all the available sub-catalog types are added, then the complete developer catalog should be hidden.
      • getEnabled

        public List<String> getEnabled()
        enabled is a list of developer catalog types (sub-catalogs IDs) that will be shown to users. Types (sub-catalogs) are added via console plugins, the available types (sub-catalog IDs) are available in the console on the cluster configuration page, or when editing the YAML in the console. Example: "Devfile", "HelmChart", "BuilderImage" If the list is non-empty, a new type will not be shown to the user until it is added to list. If the list is empty the complete developer catalog will be shown.
      • setEnabled

        public void setEnabled​(List<String> enabled)
        enabled is a list of developer catalog types (sub-catalogs IDs) that will be shown to users. Types (sub-catalogs) are added via console plugins, the available types (sub-catalog IDs) are available in the console on the cluster configuration page, or when editing the YAML in the console. Example: "Devfile", "HelmChart", "BuilderImage" If the list is non-empty, a new type will not be shown to the user until it is added to list. If the list is empty the complete developer catalog will be shown.
      • getState

        public String getState()
        state defines if a list of catalog types should be enabled or disabled.
      • setState

        public void setState​(String state)
        state defines if a list of catalog types should be enabled or disabled.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)