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