Class IRuntimeInstallationValidator.DefaultInstallationValidator
- java.lang.Object
-
- com._1c.g5.v8.dt.platform.services.core.runtimes.IRuntimeInstallationValidator.DefaultInstallationValidator
-
- All Implemented Interfaces:
IRuntimeInstallationValidator
- Enclosing interface:
- IRuntimeInstallationValidator
public static class IRuntimeInstallationValidator.DefaultInstallationValidator extends Object implements IRuntimeInstallationValidator
The default implementation of 1C:Enterprise runtime installation validator that always returnsOK
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.platform.services.core.runtimes.IRuntimeInstallationValidator
IRuntimeInstallationValidator.DefaultInstallationValidator
-
-
Constructor Summary
Constructors Constructor Description DefaultInstallationValidator()
-
Method Summary
All Methods Instance Methods Concrete 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
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 interfaceIRuntimeInstallationValidator
- 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
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 interfaceIRuntimeInstallationValidator
- 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
-
-