Interface IRuntimeInstallationValidator
-
- All Known Implementing Classes:
IRuntimeInstallationValidator.DefaultInstallationValidator
public interface IRuntimeInstallationValidator
Validator for 1C:Enterprise runtime installations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IRuntimeInstallationValidator.DefaultInstallationValidator
The default implementation of 1C:Enterprise runtime installation validator that always returnsOK
.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.core.runtime.IStatus
validate(URI location)
Validates an 1C:Enterprise runtime installation in the provided location.org.eclipse.core.runtime.IStatus
validate(URI location, Version version, int build)
Validates an 1C:Enterprise runtime installation in the provided location with the provided version and build number.
-
-
-
Method Detail
-
validate
org.eclipse.core.runtime.IStatus validate(URI location)
Validates an 1C:Enterprise runtime installation in the provided location. Version and build number will be resolved.- Parameters:
location
- the location of 1C:Enterprise runtime installation, cannot benull
- Returns:
- a status of the validation, never
null
:OK
status if installation is validERROR
status with localized error description if installation is not valid
-
validate
org.eclipse.core.runtime.IStatus validate(URI location, Version version, int build)
Validates an 1C:Enterprise runtime installation in the provided location with the provided version and build number.- Parameters:
location
- the location of 1C:Enterprise runtime installation, cannot benull
version
- the version of 1C:Enterprise runtime, cannot benull
build
- the build number of 1C:Enterprise runtime, must be positive- Returns:
- a status of the validation, never
null
:OK
status if installation is validERROR
status with localized error description if installation is not valid
-
-