ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\StaticURL\ArtifactObjective Class Reference
+ Inheritance diagram for ILIAS\StaticURL\ArtifactObjective:
+ Collaboration diagram for ILIAS\StaticURL\ArtifactObjective:

Public Member Functions

 getArtifactName ()
 
 build ()
 
- Public Member Functions inherited from ILIAS\Setup\Artifact\BuildArtifactObjective
 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)
 
- Public Member Functions inherited from ILIAS\Setup\Objective
 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 Public Member Functions inherited from ILIAS\Setup\Artifact\BuildArtifactObjective
static PATH ()
 
- Protected Member Functions inherited from ILIAS\Setup\Artifact\BuildArtifactObjective
 getPath ()
 
 makeDirectoryFor (string $path)
 
- Protected Attributes inherited from ILIAS\Setup\Artifact\BuildArtifactObjective
const ARTIFACTS = __DIR__ . "/../../../../../artifacts"
 

Detailed Description

Author
Fabian Schmid fabia.nosp@m.n@sr.nosp@m..solu.nosp@m.tion.nosp@m.s

Definition at line 32 of file ArtifactObjective.php.

Member Function Documentation

◆ build()

ILIAS\StaticURL\ArtifactObjective::build ( )

Definition at line 40 of file ArtifactObjective.php.

40  : Artifact
41  {
42  $implementation_of = new ImplementationOfInterfaceFinder();
43  $implementations = iterator_to_array(
44  $implementation_of->getMatchingClassNames(Handler::class)
45  );
46 
47  return new ArrayArtifact($implementations);
48  }

◆ getArtifactName()

ILIAS\StaticURL\ArtifactObjective::getArtifactName ( )

Definition at line 34 of file ArtifactObjective.php.

34  : string
35  {
36  return "static_url_handlers";
37  }

The documentation for this class was generated from the following file: