| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| ConfigurationProvider |
|
| 1.0;1 |
| 1 | /** | |
| 2 | * Copyright 2012 Sven Diedrichsen | |
| 3 | * | |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); | |
| 5 | * you may not use this file except in compliance with the License. | |
| 6 | * You may obtain a copy of the License at | |
| 7 | * | |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 | |
| 9 | * | |
| 10 | * Unless required by applicable law or agreed to in writing, software | |
| 11 | * distributed under the License is distributed on an | |
| 12 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | |
| 13 | * express or implied. See the License for the specific language | |
| 14 | * governing permissions and limitations under the License. | |
| 15 | */ | |
| 16 | package de.jollyday.configuration; | |
| 17 | ||
| 18 | import java.util.Properties; | |
| 19 | ||
| 20 | /** | |
| 21 | * The interface for jollyday configuration provider. | |
| 22 | * | |
| 23 | * @author sven | |
| 24 | * | |
| 25 | */ | |
| 26 | public interface ConfigurationProvider { | |
| 27 | ||
| 28 | /** | |
| 29 | * System property to define a comma separated list of custom | |
| 30 | * {@link ConfigurationProvider} implementations to use for jollyday | |
| 31 | * configuration. | |
| 32 | */ | |
| 33 | public static final String CONFIG_PROVIDERS_PROPERTY = "de.jollyday.config.providers"; | |
| 34 | /** | |
| 35 | * System property to define URLs to overriding jollyday configuration | |
| 36 | * files. | |
| 37 | */ | |
| 38 | public static final String CONFIG_URLS_PROPERTY = "de.jollyday.config.urls"; | |
| 39 | ||
| 40 | /** | |
| 41 | * @return the configuration properties for jollyday. | |
| 42 | */ | |
| 43 | Properties getProperties(); | |
| 44 | ||
| 45 | } |