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

net.nemerosa.ontrack.model.support.SettingsRepository Maven / Gradle / Ivy

There is a newer version: 4.4.5
Show newest version
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