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

brooklyn.config.WrappedConfigKey Maven / Gradle / Ivy

There is a newer version: 0.7.0-M1
Show newest version
package brooklyn.config;

import com.google.common.base.Preconditions;

import brooklyn.config.ConfigKey.HasConfigKey;

public class WrappedConfigKey implements HasConfigKey {

    private final ConfigKey key;
    
    public WrappedConfigKey(ConfigKey key) {
        this.key = Preconditions.checkNotNull(key);
    }

    @Override
    public ConfigKey getConfigKey() {
        return key;
    }

    @Override
    public String toString() {
        return key.toString()+"(wrapped)";
    }
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy