1 24 25 package org.objectweb.cjdbc.console.text.commands.dbadmin; 26 27 import org.objectweb.cjdbc.common.i18n.ConsoleTranslate; 28 import org.objectweb.cjdbc.console.text.module.VirtualDatabaseAdmin; 29 30 36 public class RemoveCheckpoint extends AbstractAdminCommand 37 { 38 39 42 public String getCommandParameters() 43 { 44 return "<checkpoint>"; 45 } 46 47 52 public RemoveCheckpoint(VirtualDatabaseAdmin module) 53 { 54 super(module); 55 } 56 57 60 public void parse(String commandText) throws Exception 61 { 62 jmxClient.getVirtualDatabaseProxy(dbName, user, password).removeCheckpoint( 63 commandText.trim()); 64 } 65 66 69 public String getCommandName() 70 { 71 return "removeCheckpoint"; 72 } 73 74 77 public String getCommandDescription() 78 { 79 return ConsoleTranslate.get("admin.command.removeCheckpoint"); 80 } 81 82 } 83 | Popular Tags |