54 lines
1.7 KiB
Ruby
54 lines
1.7 KiB
Ruby
![]() |
=begin
|
||
|
--------------------------------------------------------------------------------
|
||
|
|
||
|
Stop the Vitro application, delete all MySQL tables from the Vitro database, and
|
||
|
start the application again.
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
|
||
|
Parameters:
|
||
|
tomcat_stop_command
|
||
|
A "shell" command that will stop the Tomcat server.
|
||
|
tomcat_stop_delay
|
||
|
Number of seconds to wait after the tomcat_stop_command returns before
|
||
|
proceeding.
|
||
|
tomcat_start_command
|
||
|
A "shell" command that will start the Tomcat server.
|
||
|
tomcat_start_delay
|
||
|
Number of seconds to wait after the tomcat_start_command returns before
|
||
|
proceeding.
|
||
|
mysql_username
|
||
|
A user account that has authority to drop the Vitro database in MySQL.
|
||
|
mysql_password
|
||
|
The password for mysql_username.
|
||
|
database_name
|
||
|
The name of the Vitro database in MySQL.
|
||
|
|
||
|
--------------------------------------------------------------------------------
|
||
|
=end
|
||
|
|
||
|
class OutputSummaryFormatter
|
||
|
# ------------------------------------------------------------------------------------
|
||
|
private
|
||
|
# ------------------------------------------------------------------------------------
|
||
|
#
|
||
|
# Confirm that the output directory parameter is reasonable.
|
||
|
#
|
||
|
def sanity_checks_on_parameters()
|
||
|
end
|
||
|
|
||
|
# ------------------------------------------------------------------------------------
|
||
|
public
|
||
|
|
||
|
# ------------------------------------------------------------------------------------
|
||
|
# Set up and get ready to process.
|
||
|
#
|
||
|
def initialize(output_suite_parser, log_file)
|
||
|
@osp = output_suite_parser
|
||
|
@log_file = log_file
|
||
|
end
|
||
|
|
||
|
def format(f)
|
||
|
end
|
||
|
end
|