com.appcrossings.config.source.DefaultRepoDef Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appconfig-client Show documentation
Show all versions of appconfig-client Show documentation
A property placeholder configurer compatible with Spring and allowing hierarchical configurations to be externalized from the application and loaded by URL
The newest version!
package com.appcrossings.config.source;
import java.io.Serializable;
import java.net.URI;
import java.util.HashMap;
import java.util.Map;
@SuppressWarnings("serial")
public abstract class DefaultRepoDef implements Serializable, RepoDef {
protected String name;
protected String sourceName;
protected String uri;
protected String streamSource;
protected Map named = new HashMap<>();
protected Map vendor = new HashMap<>();
public Map getNamed() {
return named;
}
protected Map getVendor() {
return vendor;
}
protected void setVendor(Map vendor) {
this.vendor = vendor;
}
public void setNamed(Map namedPaths) {
this.named = namedPaths;
}
public String getStreamSource() {
return streamSource;
}
public void setStreamSource(String streamSource) {
this.streamSource = streamSource;
}
public String getUri() {
return uri;
}
public void setUri(String uri) {
this.uri = uri;
}
public String getSourceName() {
return sourceName;
}
public void setSourceName(String sourceName) {
this.sourceName = sourceName;
}
protected DefaultRepoDef() {
super();
}
public DefaultRepoDef(String name) {
super();
this.name = name;
}
@Override
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public abstract String[] valid();
public abstract URI toURI();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy