Brooklyn

brooklyn.entity.effector
[Java] Class Effectors

java.lang.Object
  brooklyn.entity.effector.Effectors

public class Effectors

Nested Class Summary
static class Effectors.EffectorBuilder

 
Method Summary
static Effectors.EffectorBuilder effector(java.lang.Class returnType, java.lang.String effectorName)

creates a new effector builder with the given name and return type

static Effectors.EffectorBuilder effector(Effector base)

creates a new effector builder to _override_ the given effector

static TaskAdaptable invocation(Entity entity, Effector eff, java.util.Map parameters)

returns an unsubmitted task which invokes the given effector; use Entities#invokeEffector(EntityLocal, Entity, Effector, Map)#invokeEffector(EntityLocal, Entity, Effector, Map) for a submitted variant

static boolean sameInstance(Effector e1, Effector e2)

static boolean sameSignature(Effector e1, Effector e2)

 
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

effector

public static Effectors.EffectorBuilder effector(java.lang.Class returnType, java.lang.String effectorName)
creates a new effector builder with the given name and return type


effector

public static Effectors.EffectorBuilder effector(Effector base)
creates a new effector builder to _override_ the given effector


invocation

public static TaskAdaptable invocation(Entity entity, Effector eff, @SuppressWarnings("rawtypes") java.util.Map parameters)
returns an unsubmitted task which invokes the given effector; use Entities#invokeEffector(EntityLocal, Entity, Effector, Map)#invokeEffector(EntityLocal, Entity, Effector, Map) for a submitted variant


sameInstance

public static boolean sameInstance(Effector e1, Effector e2)


sameSignature

public static boolean sameSignature(Effector e1, Effector e2)


 

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