ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
This is an objective to build some artifact. More...
Public Member Functions | |
getArtifactPath () | |
Get the filename where the builder wants to put its artifact. More... | |
build () | |
Build the artifact based. More... | |
buildIn (Environment $env) | |
Builds an artifact in some given Environment. More... | |
getPreconditions (Environment $environment) | |
Defaults to no preconditions. More... | |
getHash () | |
Uses hashed Path. More... | |
getLabel () | |
Defaults to "Build $this->getArtifactPath()". More... | |
isNotable () | |
Defaults to 'true'. More... | |
achieve (Environment $environment) | |
Builds the artifact and puts it in its location. More... | |
Protected Member Functions | |
makeDirectoryFor (string $path) | |
This is an objective to build some artifact.
Definition at line 11 of file BuildArtifactObjective.php.
ILIAS\Setup\BuildArtifactObjective::achieve | ( | Environment | $environment | ) |
Builds the artifact and puts it in its location.
Implements ILIAS\Setup\Objective.
Definition at line 84 of file BuildArtifactObjective.php.
References ILIAS\Setup\BuildArtifactObjective\buildIn(), ILIAS\Setup\BuildArtifactObjective\getArtifactPath(), and ILIAS\Setup\BuildArtifactObjective\makeDirectoryFor().
|
abstract |
Build the artifact based.
If you want to use the environment reimplement buildIn
instead.
Referenced by ILIAS\Setup\BuildArtifactObjective\buildIn().
ILIAS\Setup\BuildArtifactObjective::buildIn | ( | Environment | $env | ) |
Builds an artifact in some given Environment.
Defaults to just dropping the environment and using build
.
If you want to reimplement this, you most probably also want to reimplement getPreconditions
to prepare the environment properly.
Definition at line 34 of file BuildArtifactObjective.php.
References ILIAS\Setup\BuildArtifactObjective\build().
Referenced by ILIAS\Setup\BuildArtifactObjective\achieve().
|
abstract |
Get the filename where the builder wants to put its artifact.
This is understood to be a path relative to the ILIAS root directory.
Referenced by ILIAS\Setup\BuildArtifactObjective\achieve(), ILIAS\Setup\BuildArtifactObjective\getHash(), and ILIAS\Setup\BuildArtifactObjective\getLabel().
ILIAS\Setup\BuildArtifactObjective::getHash | ( | ) |
Uses hashed Path.
Implements ILIAS\Setup\Objective.
Definition at line 54 of file BuildArtifactObjective.php.
References ILIAS\Setup\BuildArtifactObjective\getArtifactPath().
ILIAS\Setup\BuildArtifactObjective::getLabel | ( | ) |
Defaults to "Build $this->getArtifactPath()".
Implements ILIAS\Setup\Objective.
Definition at line 64 of file BuildArtifactObjective.php.
References ILIAS\Setup\BuildArtifactObjective\getArtifactPath().
ILIAS\Setup\BuildArtifactObjective::getPreconditions | ( | Environment | $environment | ) |
Defaults to no preconditions.
Implements ILIAS\Setup\Objective.
Definition at line 44 of file BuildArtifactObjective.php.
ILIAS\Setup\BuildArtifactObjective::isNotable | ( | ) |
Defaults to 'true'.
Implements ILIAS\Setup\Objective.
Definition at line 74 of file BuildArtifactObjective.php.
|
protected |
Definition at line 99 of file BuildArtifactObjective.php.
Referenced by ILIAS\Setup\BuildArtifactObjective\achieve().