ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Command base class. More...
Public Member Functions | |
__construct (callable $lazy_agent, ConfigReader $config_reader, array $preconditions) | |
configure () | |
execute (InputInterface $input, OutputInterface $output) | |
Protected Member Functions | |
getAgent () | |
shouldSayYes (InputInterface $input) | |
printLicenseMessage (IOWrapper $io, InputInterface $input) | |
printIntroMessage (IOWrapper $io) | |
printOutroMessage (IOWrapper $io) | |
readAgentConfig (Agent $agent, InputInterface $input) | |
buildEnvironment (Agent $agent, ?Config $config, IOWrapper $io) | |
getObjective (Agent $agent, ?Config $config) | |
Protected Attributes | |
$lazy_agent | |
$agent | |
$config_reader | |
$preconditions | |
var Objective[] More... | |
Static Protected Attributes | |
static | $defaultName = "install" |
Command base class.
Definition at line 23 of file BaseCommand.php.
ILIAS\Setup\CLI\BaseCommand::__construct | ( | callable | $lazy_agent, |
ConfigReader | $config_reader, | ||
array | $preconditions | ||
) |
Definition at line 51 of file BaseCommand.php.
References ILIAS\Setup\CLI\BaseCommand\$config_reader, ILIAS\Setup\CLI\BaseCommand\$lazy_agent, ILIAS\Setup\CLI\BaseCommand\$preconditions, and ILIAS\GlobalScreen\Provider\__construct().
|
abstractprotected |
Referenced by ILIAS\Setup\CLI\BaseCommand\execute(), and ILIAS\Setup\CLI\BaseCommand\readAgentConfig().
ILIAS\Setup\CLI\BaseCommand::configure | ( | ) |
Definition at line 69 of file BaseCommand.php.
ILIAS\Setup\CLI\BaseCommand::execute | ( | InputInterface | $input, |
OutputInterface | $output | ||
) |
Definition at line 77 of file BaseCommand.php.
References $config, Vendor\Package\$e, ILIAS\Setup\CLI\BaseCommand\buildEnvironment(), ILIAS\Setup\CLI\BaseCommand\getAgent(), ILIAS\Setup\CLI\BaseCommand\getObjective(), ILIAS\Setup\NoConfirmationException\getRequestedConfirmation(), ILIAS\Setup\CLI\BaseCommand\printIntroMessage(), ILIAS\Setup\CLI\BaseCommand\printLicenseMessage(), ILIAS\Setup\CLI\BaseCommand\printOutroMessage(), ILIAS\Setup\CLI\BaseCommand\readAgentConfig(), and ILIAS\Setup\CLI\BaseCommand\shouldSayYes().
|
protected |
Definition at line 60 of file BaseCommand.php.
References ILIAS\Setup\CLI\BaseCommand\$agent, and ILIAS\Setup\CLI\BaseCommand\$lazy_agent.
Referenced by ILIAS\Setup\CLI\BaseCommand\execute().
Referenced by ILIAS\Setup\CLI\BaseCommand\execute(), and ILIAS\Setup\CLI\BaseCommand\readAgentConfig().
|
abstractprotected |
Referenced by ILIAS\Setup\CLI\BaseCommand\execute(), and ILIAS\Setup\CLI\BaseCommand\printLicenseMessage().
|
protected |
Definition at line 122 of file BaseCommand.php.
References ILIAS\Setup\CLI\BaseCommand\printIntroMessage(), ILIAS\Setup\CLI\BaseCommand\printOutroMessage(), ILIAS\Setup\CLI\BaseCommand\shouldSayYes(), and ILIAS\Setup\CLI\IOWrapper\text().
Referenced by ILIAS\Setup\CLI\BaseCommand\execute().
|
abstractprotected |
Referenced by ILIAS\Setup\CLI\BaseCommand\execute(), and ILIAS\Setup\CLI\BaseCommand\printLicenseMessage().
|
protected |
Definition at line 139 of file BaseCommand.php.
References ILIAS\Setup\CLI\BaseCommand\$agent, $config, ILIAS\Setup\CLI\BaseCommand\buildEnvironment(), ILIAS\Setup\CLI\BaseCommand\getObjective(), and ILIAS\Setup\Agent\hasConfig().
Referenced by ILIAS\Setup\CLI\BaseCommand\execute().
|
protected |
Definition at line 117 of file BaseCommand.php.
Referenced by ILIAS\Setup\CLI\BaseCommand\execute(), and ILIAS\Setup\CLI\BaseCommand\printLicenseMessage().
|
protected |
Definition at line 35 of file BaseCommand.php.
Referenced by ILIAS\Setup\CLI\BaseCommand\getAgent(), and ILIAS\Setup\CLI\BaseCommand\readAgentConfig().
|
protected |
Definition at line 40 of file BaseCommand.php.
Referenced by ILIAS\Setup\CLI\BaseCommand\__construct().
|
staticprotected |
Definition at line 25 of file BaseCommand.php.
|
protected |
Definition at line 30 of file BaseCommand.php.
Referenced by ILIAS\Setup\CLI\BaseCommand\__construct(), and ILIAS\Setup\CLI\BaseCommand\getAgent().
|
protected |
var Objective[]
Definition at line 45 of file BaseCommand.php.
Referenced by ILIAS\Setup\CLI\BaseCommand\__construct().