Class ExtensionInfoLoader
java.lang.Object
mpern.sap.commerce.build.extensioninfo.ExtensionInfoLoader
Responsible for the creation of
Extension DTOs for the core build
plugin.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the extensions from the Hybris project custom folder.Gets the extensions from the project dependecies in "hybrisPlatform" configuration.Gets the platform extension.loadAllNeededExtensions(Map<String, Extension> allKnownExtensions) Loads all the extensions needed, based on the localextensions.xml.Loads all the extensions already existing in the project folder.
-
Constructor Details
-
ExtensionInfoLoader
public ExtensionInfoLoader(org.gradle.api.Project project)
-
-
Method Details
-
getExtensionsFromCustomFolder
Gets the extensions from the Hybris project custom folder.- Returns:
- found extensions
-
getExtensionsFromHybrisPlatformDependencies
Gets the extensions from the project dependecies in "hybrisPlatform" configuration.- Returns:
- found extensions
-
getPlatfromExtension
Gets the platform extension. Note that it does not have a real location in its directory property.- Returns:
- the platform extension
-
loadAllNeededExtensions
Loads all the extensions needed, based on the localextensions.xml.- Parameters:
allKnownExtensions- all extensions known- Returns:
- the needed extensions
-
loadAlreadyExistingExtensions
Loads all the extensions already existing in the project folder.- Returns:
- the existing extensions
-