Class DpkgInstallationDiscriminator

    • Constructor Detail

      • DpkgInstallationDiscriminator

        public DpkgInstallationDiscriminator()
    • Method Detail

      • discriminate

        public Optional<RuntimeInstallationDescription> discriminate​(Path localtion)
        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:
        localtion - the 1C:Enterprise runtime install location to get version from, cannot be null
        Returns:
        an optional description of the 1C:Enterprise runtime installation
        See Also:
        RuntimeInstallationDescription