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

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

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