Brooklyn

brooklyn.entity.rebind.dto
[Java] Class AbstractTreeNodeMemento.Builder

java.lang.Object
  AbstractMemento.Builder
      brooklyn.entity.rebind.dto.AbstractTreeNodeMemento.Builder

protected static abstract class AbstractTreeNodeMemento.Builder
extends Builder

Field Summary
protected java.util.List children

protected java.lang.String parent

 
Method Summary
B addChild(java.lang.String id)

protected void assertValid()

B children(java.util.List val)

B from(TreeNode other)

protected void invalidate()

prevent from being used twice, because the fields are mutable

B parent(java.lang.String val)

B removeChild(java.lang.String id)

 

Field Detail

children

protected java.util.List children


parent

protected java.lang.String parent


 
Method Detail

addChild

public B addChild(java.lang.String id)


assertValid

protected void assertValid()


children

public B children(java.util.List val)


from

public B from(TreeNode other)


invalidate

protected void invalidate()
prevent from being used twice, because the fields are mutable


parent

public B parent(java.lang.String val)


removeChild

public B removeChild(java.lang.String id)


 

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