Class OrtResultExtensionsKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static OrtResult setPackageConfigurations(OrtResult $self, PackageConfigurationProvider packageConfigurationProvider) Replace the package configurations in OrtResult.resolvedConfiguration with the ones obtained from packageConfigurationProvider.
      final static OrtResult setPackageCurations(OrtResult $self, List<Pair<String, PackageCurationProvider>> packageCurationProviders) Replace the package curations in OrtResult.resolvedConfiguration with the ones obtained from packageCurationProviders.
      final static OrtResult setResolutions(OrtResult $self, ResolutionProvider resolutionProvider) Replace the resolutions in OrtResult.resolvedConfiguration with the ones obtained from resolutionProvider.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • setPackageConfigurations

         final static OrtResult setPackageConfigurations(OrtResult $self, PackageConfigurationProvider packageConfigurationProvider)

        Replace the package configurations in OrtResult.resolvedConfiguration with the ones obtained from packageConfigurationProvider.

      • setPackageCurations

         final static OrtResult setPackageCurations(OrtResult $self, List<Pair<String, PackageCurationProvider>> packageCurationProviders)

        Replace the package curations in OrtResult.resolvedConfiguration with the ones obtained from packageCurationProviders. The packageCurationProviders must be ordered highest-priority-first.

      • setResolutions

         final static OrtResult setResolutions(OrtResult $self, ResolutionProvider resolutionProvider)

        Replace the resolutions in OrtResult.resolvedConfiguration with the ones obtained from resolutionProvider.