org.ff4j.conf.XmlConfig Maven / Gradle / Ivy
package org.ff4j.conf;
/*
* #%L
* ff4j-core
* %%
* Copyright (C) 2013 - 2015 Ff4J
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import java.util.LinkedHashMap;
import java.util.Map;
import org.ff4j.core.Feature;
import org.ff4j.property.Property;
/**
* This bean is populated by parsing FF4J XML files.
*
* @author Cedrick Lunven (@clunven)
*/
public class XmlConfig {
/** Dedicated Parsing. */
private Map features = new LinkedHashMap();
/** InMemory Feature Map */
private Map> properties = new LinkedHashMap>();
/**
* Getter accessor for attribute 'features'.
*
* @return
* current value of 'features'
*/
public Map getFeatures() {
return features;
}
/**
* Setter accessor for attribute 'features'.
* @param features
* new value for 'features '
*/
public void setFeatures(Map features) {
this.features = features;
}
/**
* Getter accessor for attribute 'properties'.
*
* @return
* current value of 'properties'
*/
public Map> getProperties() {
return properties;
}
/**
* Setter accessor for attribute 'properties'.
* @param properties
* new value for 'properties '
*/
public void setProperties(Map> properties) {
this.properties = properties;
}
}