Class MobileRuntimeInstallations


  • public final class MobileRuntimeInstallations
    extends Object
    1C:Enterprise runtime mobile platforms utility methods.
    Restriction:
    This class is not intended to be sub-classed by clients.
    Restriction:
    This class is not intended to be instantiated by clients.
    • Field Detail

      • MOBILE_PLATFORM

        public static final String MOBILE_PLATFORM
        The type of 1C:Enteprise runtime for the mobile platform. Value is "com._1c.g5.v8.dt.platform.services.mobile.runtimeType.MobilePlatform".
        See Also:
        Constant Field Values
    • Method Detail

      • getEnterprisePlatform

        public static Optional<IResolvableRuntimeInstallation> getEnterprisePlatform​(IResolvableRuntimeInstallation mobilePlatform,
                                                                                     org.eclipse.core.resources.IProject project,
                                                                                     InfobaseReference infobase,
                                                                                     IInfobaseAccessManager accessManager)
                                                                              throws org.eclipse.core.runtime.CoreException
        Returns the according 1C:Enterprise runtime installation of enterprise type by the provided mobile platform and infobase.
        Parameters:
        mobilePlatform - the mobile platform to get according installation for, cannot be null
        project - the project to get according 1C:Enterprise runtime installation for, cannot be null
        infobase - the infobase to get according 1C:Enterprise runtime installation for, cannot be null
        accessManager - the infobase access manager, cannot be null
        Returns:
        the optional according enterprise 1C:Enterprise runtime installation by the given mobile platform
        Throws:
        org.eclipse.core.runtime.CoreException - if request fails