Class IRuntimeInstallationValidator.DefaultInstallationValidator

    • Constructor Detail

      • DefaultInstallationValidator

        public DefaultInstallationValidator()
    • Method Detail

      • validate

        public org.eclipse.core.runtime.IStatus validate​(URI location)
        Description copied from interface: IRuntimeInstallationValidator
        Validates an 1C:Enterprise runtime installation in the provided location. Version and build number will be resolved.
        Specified by:
        validate in interface IRuntimeInstallationValidator
        Parameters:
        location - the location of 1C:Enterprise runtime installation, cannot be null
        Returns:
        a status of the validation, never null:
        • OK status if installation is valid
        • ERROR status with localized error description if installation is not valid
      • validate

        public org.eclipse.core.runtime.IStatus validate​(URI location,
                                                         Version version,
                                                         int build)
        Description copied from interface: IRuntimeInstallationValidator
        Validates an 1C:Enterprise runtime installation in the provided location with the provided version and build number.
        Specified by:
        validate in interface IRuntimeInstallationValidator
        Parameters:
        location - the location of 1C:Enterprise runtime installation, cannot be null
        version - the version of 1C:Enterprise runtime, cannot be null
        build - the build number of 1C:Enterprise runtime, must be positive
        Returns:
        a status of the validation, never null:
        • OK status if installation is valid
        • ERROR status with localized error description if installation is not valid