Skip to content
Snippets Groups Projects
Select Git revision
  • 38732040236b69d2fd9e2bbee9d85e00f812902e
  • master default protected
  • simple-task/7248-eol-check-add-node-22
  • 6877_check_iml_deployment
4 results

check_mysqlserver

Blame
  • rollout.interface.php 1.97 KiB
    <?php
    /**
     * INTERFACE for rollout plugins
     * 
     * @author hahn
     */
    interface iRolloutplugin {
    
        // ----------------------------------------------------------------------
        // VERIFY
        // ----------------------------------------------------------------------
        
        /**
         * check requirements if the plugin could work
         */
        public function checkRequirements();
        
        /**
         * check access to a deploy target
         */
        public function checkConnectionToTarget();
    
        // ----------------------------------------------------------------------
        // SETTER
        // ----------------------------------------------------------------------
        
        // ----------------------------------------------------------------------
        // GETTER
        // ----------------------------------------------------------------------
    
        /**
         * get configuration for the project .. or more specifi for a given phase
         * @param string  $sPhase
         */
        public function getConfig($sPhase=false);
        
        /**
         * get an array with shell commands to execute
         * @param  string  $sPhase
         * @return array
         */
        public function getDeployCommands($sPhase);
    
        /**
         * get name of plugin as string ... language specific
         */
        public function getName();
        
        /**
         * get description of plugin as string ... language specific
         */
        public function getDescription();
        
        /**
         * get array of data in info.js
         */
        public function getPluginInfos();
        // ----------------------------------------------------------------------
        // RENDERER
        // ----------------------------------------------------------------------
        public function renderFormdata4Project();
        public function renderFormdata4Phase($sPhase);
    
        // ----------------------------------------------------------------------
        // ACTIONS
        // ----------------------------------------------------------------------
    
        
    }