1 21 22 package org.continuent.sequoia.controller.virtualdatabase.management; 23 24 import org.continuent.sequoia.common.exceptions.NotImplementedException; 25 26 32 public class TransferBackendOperation extends AbstractAdminOperation 33 { 34 private String backendName; 35 private String controllerDestination; 36 37 43 public TransferBackendOperation(String backendName, 44 String controllerDestination) 45 { 46 this.backendName = backendName; 47 this.controllerDestination = controllerDestination; 48 } 49 50 55 public void cancel() throws NotImplementedException 56 { 57 throw new NotImplementedException( 58 "Cancel operation is not implemented for TransferBackendOperation"); 59 } 60 61 66 public String getDescription() 67 { 68 return "Transferring backend " + backendName + " to controller" 69 + controllerDestination; 70 } 71 72 } 73 | Popular Tags |