blob: 789e133ee9051a23cca581cd499540801d2b115d [file] [log] [blame]
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<String, Object> getLocationConfig();
Set<String> 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<String> getLocationConfigReferenceKeys();
}