Interface ChangesLoaderLogger

    • Method Detail

      • logStartCollectingChanges

        void logStartCollectingChanges​(@NotNull
                                       LoadChangesRequest state,
                                       @NotNull
                                       Date whenStarted)
        1. Notification called on collection changes start
        Parameters:
        state - state
        date - actual start date
      • logCollectionCommonCheckoutRule

        void logCollectionCommonCheckoutRule​(@NotNull
                                             LoadChangesRequest state)
        2. Notification called on collection of changes by combined checkout rule
        Parameters:
        state - state
      • logErrorCollectionByCommonRule

        void logErrorCollectionByCommonRule​(@NotNull
                                            LoadChangesRequest state,
                                            @NotNull
                                            VcsIncludeRulesException e)
        2.1 Collection of changes by combined checkout rule may failed
        Parameters:
        state - state
        e - error
      • logCollectionCommonCheckoutRuleWithoutBadRules

        void logCollectionCommonCheckoutRuleWithoutBadRules​(LoadChangesRequest state,
                                                            CheckoutRules combinedRule)
        3. Collection of changes will be performed without problematic checkout rules
        Parameters:
        e - error
        state - general state
        combinedRule - combined checkout rule
      • logFinishCollectingChanges

        void logFinishCollectingChanges​(@NotNull
                                        LoadChangesRequest state,
                                        boolean hadErrors,
                                        int persistedChangesCount,
                                        int collectedChangesCount,
                                        @NotNull
                                        Date whenStarted,
                                        @NotNull
                                        Date whenFinished,
                                        long changesPersistingDurationMillis)
        4. changes collection is completed
        Parameters:
        state - state
        hadErrors - had errors during comllection
        persistedChangesCount - number of changes stored
        collectedChangesCount - number of changes collected
        whenStarted - time of start
        whenFinished - time of finish