00001 00025 package org.objectweb.cjdbc.console.text.commands.dbadmin; 00026 00027 import org.objectweb.cjdbc.common.i18n.ConsoleTranslate; 00028 import org.objectweb.cjdbc.console.text.module.VirtualDatabaseAdmin; 00029 00036 public class RemoveCheckpoint extends AbstractAdminCommand 00037 { 00038 00042 public String getCommandParameters() 00043 { 00044 return "<checkpoint>"; 00045 } 00046 00052 public RemoveCheckpoint(VirtualDatabaseAdmin module) 00053 { 00054 super(module); 00055 } 00056 00060 public void parse(String commandText) throws Exception 00061 { 00062 jmxClient.getVirtualDatabaseProxy(dbName, user, password).removeCheckpoint( 00063 commandText.trim()); 00064 } 00065 00069 public String getCommandName() 00070 { 00071 return "removeCheckpoint"; 00072 } 00073 00077 public String getCommandDescription() 00078 { 00079 return ConsoleTranslate.get("admin.command.removeCheckpoint"); 00080 } 00081 00082 }