/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * <p/> * http://www.apache.org/licenses/LICENSE-2.0 * <p/> * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package io.fabric8.maven.helm; import com.fasterxml.jackson.annotation.JsonInclude; import java.util.List; import java.util.Map; /** * Represents the Helm Chart <a href="https://github.com/helm/helm/blob/master/chart/chart.go#L24">metadata</a> DTO * which is usually saved as <code>Chart.yaml</code> */ @JsonInclude(JsonInclude.Include.NON_EMPTY) public class Chart { private String name; private String home; private String version; private String description; private List<String> maintainers; private String details; private List<Dependency> dependencies; private Map<String,String> preinstall; @Override public String toString() { return "Chart{" + "name='" + name + '\'' + ", version='" + version + '\'' + '}'; } public List<Dependency> getDependencies() { return dependencies; } public void setDependencies(List<Dependency> dependencies) { this.dependencies = dependencies; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getDetails() { return details; } public void setDetails(String details) { this.details = details; } public String getHome() { return home; } public void setHome(String home) { this.home = home; } public List<String> getMaintainers() { return maintainers; } public void setMaintainers(List<String> maintainers) { this.maintainers = maintainers; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Map<String, String> getPreinstall() { return preinstall; } public void setPreinstall(Map<String, String> preinstall) { this.preinstall = preinstall; } public String getVersion() { return version; } public void setVersion(String version) { this.version = version; } }