1package org.apache.archiva.redback.configuration;
2/*3 * Licensed to the Apache Software Foundation (ASF) under one4 * or more contributor license agreements. See the NOTICE file5 * distributed with this work for additional information6 * regarding copyright ownership. The ASF licenses this file7 * to you under the Apache License, Version 2.0 (the8 * "License"); you may not use this file except in compliance9 * with the License. You may obtain a copy of the License at10 *11 * http://www.apache.org/licenses/LICENSE-2.012 *13 * Unless required by applicable law or agreed to in writing,14 * software distributed under the License is distributed on an15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY16 * KIND, either express or implied. See the License for the17 * specific language governing permissions and limitations18 * under the License.19 */2021import org.apache.archiva.redback.components.registry.RegistryException;
2223import javax.annotation.PostConstruct;
24import java.util.Collection;
25import java.util.List;
2627/**28 * @author Olivier Lamy29 * @since 2.1 moved to an interface30 */31publicinterfaceUserConfiguration32 {
3334void initialize()
35throws UserConfigurationException;
3637 String getString( String key );
3839 String getString( String key, String defaultValue );
4041int getInt( String key );
4243int getInt( String key, int defaultValue );
4445boolean getBoolean( String key );
4647boolean getBoolean( String key, boolean defaultValue );
4849 List<String> getList( String key );
5051 String getConcatenatedList( String key, String defaultValue );
5253 Collection<String> getKeys();
54 }