com.parship.roperty.Roperty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of roperty Show documentation
Show all versions of roperty Show documentation
Roperty - An advanced property management and retrieval system with hierarchical resolution of values
package com.parship.roperty;
import java.io.PrintStream;
import java.util.List;
import java.util.Map;
public interface Roperty {
T get(String key, T defaultValue, DomainResolver resolver);
T get(String key, DomainResolver resolver);
T getOrDefine(String key, T defaultValue, DomainResolver resolver);
T getOrDefine(String key, T defaultValue, DomainResolver resolver, String description);
Roperty addDomains(String... domains);
void set(String key, Object value, String description, String... domains);
void setWithChangeSet(String key, Object value, String description, String changeSet, String... domains);
void setKeyValuesMap(Map keyValuesMap);
void reload();
StringBuilder dump();
void dump(PrintStream out);
KeyValues getKeyValues(String key);
Map getKeyValues();
void removeWithChangeSet(String key, String changeSet, String... domainValues);
void remove(String key, String... domainValues);
void removeKey(String key);
void removeChangeSet(String changeSet);
List findKeys(String substring, String containerName);
List findKeysBy(String containerName);
}