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

com.netflix.archaius.persisted2.ScopedValue Maven / Gradle / Ivy

There is a newer version: 2.8.3
Show newest version
package com.netflix.archaius.persisted2;

import java.util.LinkedHashMap;
import java.util.Set;

/**
 * Encapsulate a single property value and its scopes. 
 * 
 * @author elandau
 */
public class ScopedValue {
    private final String value;
    private final LinkedHashMap> scopes;
    
    public ScopedValue(String value, LinkedHashMap> scopes) {
        this.value  = value;
        this.scopes = scopes;
    }

    public String getValue() {
        return value;
    }
    
    public LinkedHashMap> getScopes() {
        return scopes;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy