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);
achieve(Environment $environment)
Builds the artifact and puts it in its location.
getLabel()
Defaults to "Build $this->getArtifactPath()".
getPreconditions(Environment $environment)
Defaults to no preconditions.
An objective is a desired state of the system that is supposed to be created by the setup...
buildIn(Environment $env)
Builds an artifact in some given Environment.
isNotable()
Defaults to 'true'.
getArtifactPath()
Get the filename where the builder wants to put its artifact.
This is an objective to build some artifact.
getHash()
Uses hashed Path.
build()
Build the artifact based.
An environment holds resources to be used in the setup process.
An artifact is some file that is build on demand per installation and is not shipped with the ILIAS s...
makeDirectoryFor(string $path)