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

brooklyn.entity.trait.Configurable Maven / Gradle / Ivy

package brooklyn.entity.trait;

import brooklyn.config.ConfigKey;

/**
 * Something that has mutable config, such as an entity or policy.
 * 
 * @author aled
 */
public interface Configurable {

    // FIXME Moved from core project to api project, as part of moving EntityLocal.
    // (though maybe it's fine here?)

    /** returns the old value, or null if there was not one */
    public  T setConfig(ConfigKey key, T val);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy