brooklyn.mementos
Interface Memento

All Superinterfaces:
Serializable
All Known Subinterfaces:
EntityMemento, LocationMemento, PolicyMemento

public interface Memento
extends Serializable

Represents the internal state of something in brooklyn, so that it can be reconstructed (e.g. after restarting brooklyn).

See Also:
RebindSupport

Method Summary
 String getBrooklynVersion()
          The version of brooklyn used when this memento was generated.
 Object getCustomField(String name)
          A (weakly-typed) property set for this memento.
 Map<String,? extends Object> getCustomFields()
           
 String getDisplayName()
           
 String getId()
           
 String getType()
           
 

Method Detail

getBrooklynVersion

String getBrooklynVersion()
The version of brooklyn used when this memento was generated.


getId

String getId()

getType

String getType()

getDisplayName

String getDisplayName()

getCustomField

Object getCustomField(String name)
A (weakly-typed) property set for this memento. These can be used to avoid sub-classing the entity memento, but developers can sub-class to get strong typing if desired.


getCustomFields

Map<String,? extends Object> getCustomFields()


Copyright © 2013. All Rights Reserved.