mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-29 12:49:00 +02:00
This allows us to "merge" module installation routines with our main installer routines. refs #7163
33 lines
683 B
PHP
33 lines
683 B
PHP
<?php
|
|
// {{{ICINGA_LICENSE_HEADER}}}
|
|
// {{{ICINGA_LICENSE_HEADER}}}
|
|
|
|
namespace Icinga\Web\Setup;
|
|
|
|
/**
|
|
* Class to implement functionality for a single installation step
|
|
*/
|
|
abstract class Step
|
|
{
|
|
/**
|
|
* Apply this step's installation changes
|
|
*
|
|
* @return bool
|
|
*/
|
|
abstract public function apply();
|
|
|
|
/**
|
|
* Return a HTML representation of this step's installation changes supposed to be made
|
|
*
|
|
* @return string
|
|
*/
|
|
abstract public function getSummary();
|
|
|
|
/**
|
|
* Return a HTML representation of this step's installation changes that were made
|
|
*
|
|
* @return string
|
|
*/
|
|
abstract public function getReport();
|
|
}
|