Brooklyn

brooklyn.event.basic
[Java] Class ListConfigKey.ListModifications

java.lang.Object
  StructuredModifications
      brooklyn.event.basic.ListConfigKey.ListModifications

@SuppressWarnings("rawtypes")
public static class ListConfigKey.ListModifications
extends StructuredModifications

Method Summary
static ListModification add(java.lang.Object o1, java.lang.Object o2, java.lang.Object... oo)

when passed as a value to a ListConfigKey, causes each of these items to be added.

static ListModification addAll(java.util.Collection items)

when passed as a value to a ListConfigKey, causes each of these items to be added

static ListModification addItem(java.util.Collection items)

when passed as a value to a ListConfigKey, causes the items to be added as a single element in the list

static ListModification set(java.util.Collection items)

when passed as a value to a ListConfigKey, causes the list to be cleared and these items added

 

Method Detail

add

public static final ListModification add(java.lang.Object o1, java.lang.Object o2, java.lang.Object... oo)
when passed as a value to a ListConfigKey, causes each of these items to be added. if you have just one, no need to wrap in a mod.


addAll

public static final ListModification addAll(java.util.Collection items)
when passed as a value to a ListConfigKey, causes each of these items to be added


addItem

public static final ListModification addItem(java.util.Collection items)
when passed as a value to a ListConfigKey, causes the items to be added as a single element in the list


set

public static final ListModification set(java.util.Collection items)
when passed as a value to a ListConfigKey, causes the list to be cleared and these items added


 

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