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

brooklyn.mementos.LocationMemento Maven / Gradle / Ivy

package brooklyn.mementos;

import java.util.Map;
import java.util.Set;

import brooklyn.entity.rebind.RebindSupport;

/**
 * Represents the state of an location, so that it can be reconstructed (e.g. after restarting brooklyn).
 * 
 * @see RebindSupport
 * 
 * @author aled
 */
public interface LocationMemento extends TreeNode, Memento {

    Map getLocationConfig();
    Set getLocationConfigUnused();
    String getLocationConfigDescription();

    /**
     * The keys in {@link getLocationConfig()} that reference other locations.
     * 
     * The initialization of these fields will be deferred until we can guarantee these objects have all 
     * been created.
     */
    Set getLocationConfigReferenceKeys();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy