Class FolderNameBasedInstallationDiscriminator

    • Constructor Detail

      • FolderNameBasedInstallationDiscriminator

        public FolderNameBasedInstallationDiscriminator()
    • Method Detail

      • discriminate

        public Optional<RuntimeInstallationDescription> discriminate​(URI location)
                                                              throws org.eclipse.core.runtime.CoreException
        Description copied from interface: IRuntimeInstallationDiscriminator
        Tries to discriminate the 1C:Enterprise runtime installation by the provided location. Returns an optional description of the 1C:Enterprise runtime installation:
        • The version of the target 1C:Enterprise runtime installation (e.g. 8.3.8)
        • The build number of the target 1C:Enterprise runtime installation (e.g. 1945)
        • The architectire of the target 1C:Enterprise runtime installation (e.g. x86)
        Specified by:
        discriminate in interface IRuntimeInstallationDiscriminator
        Parameters:
        location - the 1C:Enterprise runtime install location to get version from, cannot be null
        Returns:
        an optional description of the 1C:Enterprise runtime installation
        Throws:
        org.eclipse.core.runtime.CoreException - if description resolve failed with some reason
        See Also:
        RuntimeInstallationDescription