Interface IPlatformProvisioningManager


  • public interface IPlatformProvisioningManager
    1C Platform artefact P2 provisioning manager. Manages installations of platform support
    • Method Detail

      • checkPreviousInstallationFailed

        boolean checkPreviousInstallationFailed​(Version version)
        Checks if there was an error during the last attempt of the platform support installation
        Parameters:
        version - The version of the platform to check the error for. May not be null
        Returns:
        True if the error is registered
      • getPlatformSupportInfo

        List<PlatformSupportStatus> getPlatformSupportInfo()
        Gets the platform support information in form of ordered versions lists with the designation of the installed/not installed status for each platform version
        Returns:
        The list of support statuses for each platform version
      • preparePlatformSupportInstallOperation

        org.eclipse.equinox.p2.operations.InstallOperation preparePlatformSupportInstallOperation​(Version version)
        Prepares the platform support P2 installation operation
        Parameters:
        version - The 1C platform version to install. May not be {@link null}
        Returns:
        The install operation for the given platform. May be null in case if the platform isn't supported
        Throws:
        PlatformSupportInstallationException - In case if the communication with the update site/etc is impossible
      • registerInstallationFailure

        void registerInstallationFailure​(Version version)
        Registers the installation failure for the platform support of the given version
        Parameters:
        version - The version of the platform to register the error for. May not be null
      • resetInstallationFailure

        boolean resetInstallationFailure​(Version version)
        Resets the previously registred installation error for the given version, if any
        Parameters:
        version - The version of the platform to reset the error for. May not be null
        Returns:
        True in case if the error was registered earlier