Class ManifestExtensionsResolver

java.lang.Object
mpern.sap.commerce.ccv2.validation.impl.ManifestExtensionsResolver
All Implemented Interfaces:
ExtensionsResolver

public class ManifestExtensionsResolver extends Object implements ExtensionsResolver
Resolves extension information from the build manifest, using the information from the de.hybris.bootstrap.config.PlatformConfig and de.hybris.bootstrap.config.ExtensionInfo.
  • Field Details

    • CLOUD_ONLY_EXTENSIONS

      public static Set<String> CLOUD_ONLY_EXTENSIONS
  • Constructor Details

    • ManifestExtensionsResolver

      public ManifestExtensionsResolver(Path projectRoot)
  • Method Details

    • determineEffectiveExtensions

      public ExtensionsResolver.Result determineEffectiveExtensions(Manifest manifest)
      Description copied from interface: ExtensionsResolver
      Resolves the detailed information about the extensions configured in the manifest.
      Specified by:
      determineEffectiveExtensions in interface ExtensionsResolver
      Parameters:
      manifest - the manifest being used
      Returns:
      the operation result
    • listAllConfiguredExtensions

      public groovy.lang.Tuple2<Set<String>,List<String>> listAllConfiguredExtensions(Manifest manifest)
      Description copied from interface: ExtensionsResolver
      Gets the names of the configured extensions from the manifest.
      Specified by:
      listAllConfiguredExtensions in interface ExtensionsResolver
      Parameters:
      manifest - the manifest to get the information from
      Returns:
      first element in tuple is the set of extension names that are configured, second element contains the list of locations from where the extension names are obtained