Interface VcsBulkSuitabilityChecker

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.Boolean> checkSuitable​(java.util.List<VcsRootEntry> entries, java.util.Collection<java.lang.String> paths)
      Perform a bulk check for which from a set of VcsRootEntries can be affected by at least one VCS path from given collection.
    • Method Detail

      • checkSuitable

        @NotNull
        java.util.List<java.lang.Boolean> checkSuitable​(@NotNull
                                                        java.util.List<VcsRootEntry> entries,
                                                        @NotNull
                                                        java.util.Collection<java.lang.String> paths)
                                                 throws VcsException
        Perform a bulk check for which from a set of VcsRootEntries can be affected by at least one VCS path from given collection. Each path should be checked both for VCS Root parameters, and for CheckoutRules parameters. I.e. resulting list has the same size as for entries size, and for each entry the answer is given whether it is suitable.
        Returned value represents an ordered array of boolean values, representing one-to-one mapping with passed VcsRootEntries
        Parameters:
        entries - VCS entries to check
        paths - paths to check, same format as for VcsPersonalSupport.mapFullPath(VcsRootEntry, String)
        Returns:
        see above
        Throws:
        VcsException