Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package brooklyn.policy.loadbalancing;
 
Represents an item that can be migrated between balanceable containers.
public interface Movable extends Entity {
    
    @SetFromFlag("immovable")
    public static ConfigKey<BooleanIMMOVABLE = new BasicConfigKey<Boolean>(
        Boolean.class"movable.item.immovable""Indicates whether this item instance is immovable, so cannot be moved by policies"false);
    
        BalanceableContainer.class"movable.item.container""The container that this item is on");
    
    public static final Effector<VoidMOVE = new MethodEffector<Void>(Movable.class"move");
    
    public String getContainerId();
    
    @Description("Moves this entity to the given container")
    public void move(@NamedParameter("destination"Entity destination);
    
New to GrepCode? Check out our FAQ X