36 return $this->
build();
86 $artifact = $this->
buildIn($environment);
89 $base_path = getcwd();
94 file_put_contents($path, $artifact->serialize());
101 $dir = pathinfo($path)[
"dirname"];
102 if (!file_exists($dir)) {
103 mkdir($dir, 0755,
true);
An exception for terminatinating execution or to throw for unit testing.
This is an objective to build some artifact.
getPreconditions(Environment $environment)
Defaults to no preconditions.
achieve(Environment $environment)
Builds the artifact and puts it in its location.
getHash()
Uses hashed Path.
makeDirectoryFor(string $path)
getLabel()
Defaults to "Build $this->getArtifactPath()".
buildIn(Environment $env)
Builds an artifact in some given Environment.
getArtifactPath()
Get the filename where the builder wants to put its artifact.
isNotable()
Defaults to 'true'.
build()
Build the artifact based.
An artifact is some file that is build on demand per installation and is not shipped with the ILIAS s...
An environment holds resources to be used in the setup process.
An objective is a desired state of the system that is supposed to be created by the setup.