Interface IResolvableRuntimeInstallation

    • Method Detail

      • getName

        String getName()
        Returns UI-representable name of the resolvable installation.
        Returns:
        the name of the resolvable installation, never null
      • getVersionMask

        String getVersionMask()
        Returns version mask of this resolvable installation.
        Returns:
        version mask of this resolvable installation, never null
      • isConsistent

        boolean isConsistent​(IResolvableRuntimeInstallation other)
        Returns whether this resolvable installation is consistent with the given other resolvable installation. Consistents runtime installations may be used in launch operations, when need to have two consistent 1C:Enterprise installations with different types.
        Parameters:
        other - the other resolvable installation, cannot be null
        Returns:
        whether this resolvable installation is consistent with the given other resolvable installation
      • get

        RuntimeInstallation get​(String... componentTypeIds)
                         throws MatchingRuntimeNotFound
        Resolves 1C:Enterprise runtime installation to use for this resolvable installation, that have specified 1C:Enterprise runtime components.
        Parameters:
        componentTypeIds - components identifiers, cannot be null
        Returns:
        the resolved 1C:Enterprise runtime installation, never null
        Throws:
        MatchingRuntimeNotFound - if matching 1C:Enterprise runtime installation was not found
      • get

        RuntimeInstallation get​(Predicate<RuntimeInstallation> filter)
                         throws MatchingRuntimeNotFound
        Resolves 1C:Enterprise runtime installation to use for this resolvable installation, that satisfies the provided filter.
        Parameters:
        filter - the predicate to filter 1C:Enterprise installation, cannot be null
        Returns:
        the resolved 1C:Enterprise runtime installation, never null
        Throws:
        MatchingRuntimeNotFound - if matching 1C:Enterprise runtime installation was not found
      • get

        RuntimeInstallation get​(Predicate<RuntimeInstallation> filter,
                                Comparator<RuntimeInstallation> order)
                         throws MatchingRuntimeNotFound
        Resolves 1C:Enterprise runtime installation to use for this resolvable installation, that satisfies the provided filter and additionaly maximises the provided order.
        Parameters:
        filter - the predicate to filter 1C:Enterprise installation, cannot be null
        order - the order to compare 1C:Enterprise installations, cannot be null
        Returns:
        the resolved 1C:Enterprise runtime installation, never null
        Throws:
        MatchingRuntimeNotFound - if matching 1C:Enterprise runtime installation was not found