Package highfive.commands
Class Command
- java.lang.Object
-
- highfive.commands.Command
-
- Direct Known Subclasses:
DataSourceCommand
public abstract class Command extends Object
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voiderror(String s)protected voiderror(Throwable e)protected StringgetCommandName()protected voidinfo(String s)abstract voidrun()
-
-
-
Constructor Detail
-
Command
public Command(String commandName)
-
-
Method Detail
-
getCommandName
protected String getCommandName()
-
run
public abstract void run() throws InvalidConfigurationException, SQLException, UnsupportedDatabaseTypeException, InvalidSchemaException, NoSuchAlgorithmException, CouldNotHashException, IOException, InvalidHashFileException, CouldNotCopyDataException
-
info
protected void info(String s)
-
error
protected void error(String s)
-
error
protected void error(Throwable e)
-
-