liquibase.configuration.core.SystemPropertyValueProvider Maven / Gradle / Ivy
package liquibase.configuration.core;
import liquibase.configuration.AbstractMapConfigurationValueProvider;
import java.util.Map;
/**
* Searches for the configuration values in the system properties {@link System#getProperties()}.
*
* To improve usability, it will search for the given key case insensitively.
*/
public class SystemPropertyValueProvider extends AbstractMapConfigurationValueProvider {
@Override
public int getPrecedence() {
return 200;
}
@Override
protected String getSourceDescription() {
return "System property";
}
@Override
protected Map, ?> getMap() {
return System.getProperties();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy