Brooklyn

brooklyn.mementos
[Java] Interface Memento


public interface Memento
extends java.io.Serializable

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

Authors:
aled
See Also:
RebindSupport


Method Summary
java.lang.String getBrooklynVersion()

The version of brooklyn used when this memento was generated.

java.lang.Object getCustomField(java.lang.String name)

A (weakly-typed) property set for this memento.

java.util.Map getCustomFields()

java.lang.String getDisplayName()

java.lang.String getId()

java.lang.String getType()

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Method Detail

getBrooklynVersion

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


getCustomField

public java.lang.Object getCustomField(java.lang.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

public java.util.Map getCustomFields()


getDisplayName

public java.lang.String getDisplayName()


getId

public java.lang.String getId()


getType

public java.lang.String getType()


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.