brooklyn.example.cloudfoundry
[Java] Interface MovableEntityTraitAlt
public interface MovableEntityTraitAlt
This defines an identical ``move`` effector as MovableEntityTrait,
but shows examples of a pure-java syntax.
Method Summary |
java.lang.String
|
move(java.lang.String location)
Effectively move the entity to the new location.
|
MOVE
public Effector MOVE
-
move
@Description("Effectively move the entity to the new location.")
public java.lang.String move(@NamedParameter("location") @Description("The new location where the entity should be running") java.lang.String location)
- Effectively move the entity to the new location.
A new entity may be created (and the old destroyed) to effect this.
- Parameters:
location
- the new location where the entity should running
- Returns:
- the entity ID of the primary entity (after the move) in the specified location
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.