@@ -0,0 +1,2380 @@
+/**%0A *%0A *    Copyright 2017, Optimizely and contributors%0A *%0A *    Licensed under the Apache License, Version 2.0 (the %22License%22);%0A *    you may not use this file except in compliance with the License.%0A *    You may obtain a copy of the License at%0A *%0A *        http://www.apache.org/licenses/LICENSE-2.0%0A *%0A *    Unless required by applicable law or agreed to in writing, software%0A *    distributed under the License is distributed on an %22AS IS%22 BASIS,%0A *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A *    See the License for the specific language governing permissions and%0A *    limitations under the License.%0A */%0Apackage com.optimizely.ab.config;%0A%0Aimport com.fasterxml.jackson.annotation.JsonCreator;%0Aimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;%0Aimport com.fasterxml.jackson.annotation.JsonProperty;%0A%0Aimport java.util.List;%0A%0A/**%0A * Represents a Feature definition at the project level%0A */%0A@JsonIgnoreProperties(ignoreUnknown = true)%0Apublic class Feature implements IdKeyMapped%7B%0A%0A    private final String id;%0A    private final String key;%0A    private final String layerId;%0A    private final List%3CString%3E experimentIds;%0A    private final List%3CLiveVariable%3E variables;%0A%0A    @JsonCreator%0A    public Feature(@JsonProperty(%22id%22) String id,%0A                   @JsonProperty(%22key%22) String key,%0A                   @JsonProperty(%22layerId%22) String layerId,%0A                   @JsonProperty(%22experimentIds%22) List%3CString%3E experimentIds,%0A                   @JsonProperty(%22variables%22) List%3CLiveVariable%3E variables) %7B%0A        this.id = id;%0A        this.key = key;%0A        this.layerId = layerId;%0A        this.experimentIds = experimentIds;%0A        this.variables = variables;%0A    %7D%0A%0A    public String getId() %7B%0A        return id;%0A    %7D%0A%0A    public String getKey() %7B%0A        return key;%0A    %7D%0A%0A    public String getLayerId() %7B%0A        return layerId;%0A    %7D%0A%0A    public List%3CString%3E getExperimentIds() %7B%0A        return experimentIds;%0A    %7D%0A%0A    public List%3CLiveVariable%3E getVariables() %7B%0A        return variables;%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        return %22Feature%7B%22 +%0A                %22id='%22 + id + '%5C'' +%0A                %22, key='%22 + key + '%5C'' +%0A                %22, layerId='%22 + layerId + '%5C'' +%0A                %22, experimentIds=%22 + experimentIds +%0A                %22, variables=%22 + variables +%0A                '%7D';%0A    %7D%0A%7D%0A

Add Features to SDK (#112)