net.nemerosa.ontrack.model.support.ConfigurationRepository 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.List;
import java.util.Optional;
public interface ConfigurationRepository {
/**
* Gets the list of items for this configuration class
*/
> List list(Class configurationClass);
/**
* Gets a configuration using its name
*/
> Optional find(Class configurationClass, String name);
/**
* Saves or creates a configuration
*/
> T save(T configuration);
/**
* Deletes a configuration
*/
> void delete(Class configurationClass, String name);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy