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

org.springframework.boot.autoconfigure.Properties Maven / Gradle / Ivy

package org.springframework.boot.autoconfigure;

import java.net.Proxy.Type;
import java.net.URI;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.TimeZone;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.core.io.Resource;
import org.springframework.util.LinkedCaseInsensitiveMap;

/**
 * @see java.utilTreeMap
 * @see String#CASE_INSENSITIVE_ORDER
 */
@ConfigurationProperties("properties")
public class Properties {
  // private static final long serialVersionUID = -3828334504963147887L;
  private Map locale = new LinkedCaseInsensitiveMap();
  private Map timeZone = new LinkedCaseInsensitiveMap();
  private Map date = new LinkedCaseInsensitiveMap();
  private Map bool = new LinkedCaseInsensitiveMap();
  private Map num = new LinkedCaseInsensitiveMap();
  private Map key = new LinkedCaseInsensitiveMap();
  private Map uri = new LinkedCaseInsensitiveMap();
  private Map resource = new LinkedCaseInsensitiveMap();
  private Map> list = new LinkedCaseInsensitiveMap>();
  private Map> map = new LinkedCaseInsensitiveMap>();
  private Map address = new LinkedCaseInsensitiveMap
(); public Map> getMap() { return map; } public void setMap(Map> map) { this.map = map; } public Map> getList() { return list; } public void setList(Map> list) { this.list = list; } public Map getBool() { return bool; } public void setBool(Map bool) { this.bool = bool; } public Map getNum() { return num; } public void setNum(Map num) { this.num = num; } public Map getDate() { return date; } public void setDate(Map date) { this.date = date; } public Map getKey() { return key; } public void setKey(Map key) { this.key = key; } public Map getLocale() { return locale; } public void setLocale(Map locale) { this.locale = locale; } public Map getTimeZone() { return timeZone; } public void setTimeZone(Map timeZone) { this.timeZone = timeZone; } public Map getUri() { return uri; } public void setUri(Map uri) { this.uri = uri; } public Map getResource() { return resource; } public void setResource(Map resource) { this.resource = resource; } public Map getAddress() { return address; } public void setAddress(Map address) { this.address = address; } public static class Address { private String scheme; private String host; private int port; private URI uri; private Type type; private String username; private String password; private String key; private int connectTimeout; private int readTimeout; private String description; private String icon; private String domain; private String title; private String name; private Properties properties; public String getScheme() { return scheme; } public void setScheme(String scheme) { this.scheme = scheme; } public String getHost() { return host; } public void setHost(String host) { this.host = host; } public int getPort() { return port; } public void setPort(int port) { this.port = port; } public URI getUri() { return uri; } public void setUri(URI uri) { this.uri = uri; } public Type getType() { return type; } public void setType(Type type) { this.type = type; } public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } public String getKey() { return key; } public void setKey(String key) { this.key = key; } public int getConnectTimeout() { return connectTimeout; } public void setConnectTimeout(int connectTimeout) { this.connectTimeout = connectTimeout; } public int getReadTimeout() { return readTimeout; } public void setReadTimeout(int readTimeout) { this.readTimeout = readTimeout; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getIcon() { return icon; } public void setIcon(String icon) { this.icon = icon; } public String getDomain() { return domain; } public void setDomain(String domain) { this.domain = domain; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Properties getProperties() { return properties; } public void setProperties(Properties properties) { this.properties = properties; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy