net.nemerosa.ontrack.model.support.SettingsRepository Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ontrack-model Show documentation
Show all versions of ontrack-model Show documentation
Ontrack module: ontrack-model
package net.nemerosa.ontrack.model.support;
import java.util.function.Function;
public interface SettingsRepository {
void delete(Class> category, String name);
boolean getBoolean(Class> category, String name, boolean defaultValue);
void setBoolean(Class> category, String name, boolean value);
int getInt(Class> category, String name, int defaultValue);
void setInt(Class> category, String name, int value);
String getString(Class> category, String name, String defaultValue);
void setString(Class> category, String name, String value);
String getPassword(Class> category, String name, String defaultValue, Function decryptService);
void setPassword(Class> category, String name, String plain, boolean dontSaveIfBlank, Function encryptService);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy