All Downloads are FREE. Search and download functionalities are using the official Maven repository.

run.halo.app.extension.ConfigMap Maven / Gradle / Ivy

The newest version!
package run.halo.app.extension;

import java.util.LinkedHashMap;
import java.util.Map;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 

ConfigMap holds configuration data to consume.

* * @author guqing * @since 2.0.0 */ @Data @ToString(callSuper = true) @EqualsAndHashCode(callSuper = true) @GVK(group = "", version = "v1alpha1", kind = ConfigMap.KIND, plural = "configmaps", singular = "configmap") public class ConfigMap extends AbstractExtension { public static final String KIND = "ConfigMap"; private Map data; public ConfigMap putDataItem(String key, String dataItem) { if (this.data == null) { this.data = new LinkedHashMap<>(); } this.data.put(key, dataItem); return this; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy