Package highfive.commands
Class GenericHashCommand
- java.lang.Object
-
- highfive.commands.Command
-
- highfive.commands.DataSourceCommand
-
- highfive.commands.GenericHashCommand
-
- Direct Known Subclasses:
HashCommand,VerifyCommand
public abstract class GenericHashCommand extends DataSourceCommand
-
-
Field Summary
Fields Modifier and Type Field Description protected HashFilehashFile-
Fields inherited from class highfive.commands.DataSourceCommand
DF, ds
-
-
Constructor Summary
Constructors Constructor Description GenericHashCommand(String commandName, String datasourceName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidhash()-
Methods inherited from class highfive.commands.DataSourceCommand
checkIfHashingAndCopyingIsSupported, displayRowCount, execute, run
-
Methods inherited from class highfive.commands.Command
error, error, getCommandName, info
-
-
-
-
Field Detail
-
hashFile
protected HashFile hashFile
-
-
Constructor Detail
-
GenericHashCommand
public GenericHashCommand(String commandName, String datasourceName) throws InvalidConfigurationException, SQLException, UnsupportedDatabaseTypeException
-
-
Method Detail
-
hash
protected void hash() throws SQLException, UnsupportedDatabaseTypeException, InvalidSchemaException, CouldNotHashException, NoSuchAlgorithmException, InvalidHashFileException, InvalidConfigurationException, IOException
-
-