ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
__construct (protected readonly array $provider, protected readonly Config $config) | |
build () | |
Build the artifact based. More... | |
getPreconditions (Environment $environment) | |
Objectives might depend on other objectives. More... | |
getArtifactName () | |
Get the filename where the builder wants to put its artifact. More... | |
achieve (Environment $environment) | |
Objectives can be achieved. More... | |
![]() | |
getArtifactName () | |
Get the filename where the builder wants to put its artifact. More... | |
build () | |
Build the artifact based. More... | |
buildIn (Setup\Environment $env) | |
Builds an artifact in some given Environment. More... | |
getPreconditions (Setup\Environment $environment) | |
Defaults to no preconditions. More... | |
getHash () | |
Uses hashed Path. More... | |
getLabel () | |
Defaults to 'Build ' . More... | |
isNotable () | |
Defaults to 'true'. More... | |
achieve (Setup\Environment $environment) | |
Builds the artifact and puts it in its location. More... | |
isApplicable (Setup\Environment $environment) | |
![]() | |
getHash () | |
Get a hash for this objective. More... | |
getLabel () | |
Get a label that describes this objective. More... | |
isNotable () | |
Get to know if this is an interesting objective for a human. More... | |
getPreconditions (Environment $environment) | |
Objectives might depend on other objectives. More... | |
achieve (Environment $environment) | |
Objectives can be achieved. More... | |
isApplicable (Environment $environment) | |
Get to know whether the objective is applicable. More... | |
Additional Inherited Members | |
![]() | |
static | PATH () |
![]() | |
getPath () | |
makeDirectoryFor (string $path) | |
![]() | |
const | ARTIFACTS = __DIR__ . "/../../../../../artifacts" |
Definition at line 30 of file PushNotificationObjective.php.
PushNotificationObjective::__construct | ( | protected readonly array | $provider, |
protected readonly Config | $config | ||
) |
PushProviderInterface[] | $provider |
Definition at line 35 of file PushNotificationObjective.php.
PushNotificationObjective::achieve | ( | Environment | $environment | ) |
Objectives can be achieved.
They might add resources to the environment when they have been achieved.
This method needs to be idempotent for a given environment. That means: if this is executed a second time, nothing new should happen. Or the other way round: if the environment already looks like desired, the objective should not take any further actions when this is called.
LogicException if there are unfullfilled preconditions.
RuntimeException if there are missing resources.
Implements ILIAS\Setup\Objective.
Definition at line 56 of file PushNotificationObjective.php.
References ILIAS\Setup\Environment\getResource().
PushNotificationObjective::build | ( | ) |
Build the artifact based.
If you want to use the environment reimplement buildIn
instead.
Reimplemented from ILIAS\Setup\Artifact\BuildArtifactObjective.
Definition at line 39 of file PushNotificationObjective.php.
PushNotificationObjective::getArtifactName | ( | ) |
Get the filename where the builder wants to put its artifact.
This is understood to be a path relative to the ILIAS root directory.
Reimplemented from ILIAS\Setup\Artifact\BuildArtifactObjective.
Definition at line 51 of file PushNotificationObjective.php.
PushNotificationObjective::getPreconditions | ( | Environment | $environment | ) |
Objectives might depend on other objectives.
UnachievableException | if the objective is not achievable |
Implements ILIAS\Setup\Objective.
Definition at line 44 of file PushNotificationObjective.php.