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

ch.sbb.releasetrain.config.ConfigAccessor Maven / Gradle / Ivy

The newest version!
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements;
 * and to You under the Apache License, Version 2.0.
 */
package ch.sbb.releasetrain.config;

import ch.sbb.releasetrain.config.model.email.MailReceiver;
import ch.sbb.releasetrain.config.model.releasecalendar.ReleaseCalendar;
import ch.sbb.releasetrain.config.model.releaseconfig.ReleaseConfig;

import java.util.List;

/**
 * Provides Acces to the Release Configs, stored in a storage like GIT
 *
 * @author u203244 (Daniel Marthaler)
 * @version $Id: $
 * @since 0.0.1, 2016
 */
public interface ConfigAccessor {

	ReleaseConfig readConfig(String name);

	List readAllConfigs();

	void writeConfig(String name, ReleaseConfig config);

	void deleteConfig(String name);

	List readMailReceiver();

	List readMailReveiverForMailinglist(String... mailinglists);

	ReleaseCalendar readCalendar(String action);

	void writeCalendar(ReleaseCalendar cal, String action);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy