@Test public void testVisit() { ActionVisitor visitor = mock(ActionVisitor.class); a.visit(visitor); verify(visitor).visit(a); }
@Override public Object visit(ActionVisitor v) { return v.visit(this); }
MigrateVM extends Action implements RunningVMPlacement { @Override public Object visit(ActionVisitor v) { return v.visit(this); } }
MigrateVM extends Action implements RunningVMPlacement { @Override public Object visit(ActionVisitor v) { return v.visit(this); } MigrateVM(VM v, Node from, Node to, int start, int end, int bandwidth);  MigrateVM(VM v, Node from, Node to, int start, int end); }
MigrateVM extends Action implements RunningVMPlacement { @Override public Object visit(ActionVisitor v) { return v.visit(this); } MigrateVM(VM v, Node from, Node to, int start, int end, int bandwidth);  MigrateVM(VM v, Node from, Node to, int start, int end); Node getSourceNode(); int getBandwidth(); @Override Node getDestinationNode(); @Override VM getVM(); @Override boolean applyAction(Model i); @Override boolean equals(Object o); @Override int hashCode(); @Override String pretty(); @Override Object visit(ActionVisitor v); boolean setBandwidth(int bandwidth); }
MigrateVM extends Action implements RunningVMPlacement { @Override public Object visit(ActionVisitor v) { return v.visit(this); } MigrateVM(VM v, Node from, Node to, int start, int end, int bandwidth);  MigrateVM(VM v, Node from, Node to, int start, int end); Node getSourceNode(); int getBandwidth(); @Override Node getDestinationNode(); @Override VM getVM(); @Override boolean applyAction(Model i); @Override boolean equals(Object o); @Override int hashCode(); @Override String pretty(); @Override Object visit(ActionVisitor v); boolean setBandwidth(int bandwidth);  }