Package jetbrains.buildServer.vcs.impl
Class BuildStartChangesLoaderLogger
- java.lang.Object
-
- jetbrains.buildServer.vcs.ChangesLoaderLoggerImpl
-
- jetbrains.buildServer.vcs.impl.BuildStartChangesLoaderLogger
-
- All Implemented Interfaces:
ChangesCollectionLogger,ChangesLoaderLogger
public class BuildStartChangesLoaderLogger extends ChangesLoaderLoggerImpl
-
-
Field Summary
Fields Modifier and Type Field Description static StringCHANGES_BLOCK-
Fields inherited from class jetbrains.buildServer.vcs.ChangesLoaderLoggerImpl
BAD_INCLUDE_RULES, COLLECT_CHANGES_IN, DETECTING_CHANGES_IN_VCS_ROOT, DONE_COLLECTING_CHANGES, ERROR_OCCURRED_WHEN_COLLECTING_CHANGES_BY_COMBINED_RULE, LOADING_CURRENT_REPOSITORY_STATE, NO_PREVIOUS_STATE_TO_COLLECT_CHANGES_FROM, PROCESSING_COMBINED_CHECKOUT_RULE, PROGRESS, VCS_REVISIONS, VCS_ROOT_DETAILS, WAITING_FOR_LOCKING_ROOT, WILL_COLLECT_CHANGES_FROM_REVISION
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlogBeforeChangesCollectionStarted(LoadChangesRequest state, Set<? extends LVcsRootInstanceHolder> buildTypes)0.protected voidlogBlockEnd(String blockText, String flowId)protected voidlogBlockStart(String blockText, boolean isInternal, String flowId)voidlogChangesCollectionFinished(Set<LVcsRootInstance> roots)Called when system finishes changes collecting on build startvoidlogChangesCollectionStarting(Set<LVcsRootInstance> roots)Called when system decided to start changes collection on build startvoidlogCollectionCommonCheckoutRule(LoadChangesRequest state)2.voidlogCollectionCommonCheckoutRuleWithoutBadRules(LoadChangesRequest state, CheckoutRules combinedRule)3.voidlogErrorCollectionByCommonRule(LoadChangesRequest state, VcsIncludeRulesException e)2.1 Collection of changes by combined checkout rule may failedvoidlogFinishCollectingChanges(LoadChangesRequest state, boolean hadErrors, int persistedChangesCount, int collectedChangesCount, Date whenStarted, Date whenFinished, long changesPersistingDurationMillis)4.voidlogLockingVcsRootToCollectChanges(LVcsRootInstance root)protected voidlogMessage(String messageText, boolean isInternal, String flowId)voidlogNoPreviousState(LoadChangesRequest state)0.1.voidlogObtainingCurrentState(LVcsRootInstance root)voidlogObtainingCurrentStateFinished(LVcsRootInstance root)voidlogPreviousState(LoadChangesRequest state, RepositoryState filteredFromState)voidlogProgress(LVcsRootInstance root, String progress)voidlogStartCollectingChanges(LoadChangesRequest state, Date date)1.-
Methods inherited from class jetbrains.buildServer.vcs.ChangesLoaderLoggerImpl
addVcsRootProgress
-
-
-
-
Field Detail
-
CHANGES_BLOCK
public static final String CHANGES_BLOCK
- See Also:
- Constant Field Values
-
-
Method Detail
-
logMessage
protected void logMessage(@NotNull String messageText, boolean isInternal, @NotNull String flowId)- Specified by:
logMessagein classChangesLoaderLoggerImpl
-
logBlockStart
protected void logBlockStart(@NotNull String blockText, boolean isInternal, @NotNull String flowId)- Specified by:
logBlockStartin classChangesLoaderLoggerImpl
-
logBlockEnd
protected void logBlockEnd(@NotNull String blockText, @NotNull String flowId)- Specified by:
logBlockEndin classChangesLoaderLoggerImpl
-
logBeforeChangesCollectionStarted
public void logBeforeChangesCollectionStarted(@NotNull LoadChangesRequest state, @NotNull Set<? extends LVcsRootInstanceHolder> buildTypes)Description copied from interface:ChangesCollectionLogger0. called before changes commection is started- Specified by:
logBeforeChangesCollectionStartedin interfaceChangesCollectionLogger- Overrides:
logBeforeChangesCollectionStartedin classChangesLoaderLoggerImpl- Parameters:
state- requestbuildTypes- involved build types
-
logNoPreviousState
public void logNoPreviousState(@NotNull LoadChangesRequest state)Description copied from interface:ChangesCollectionLogger0.1. notifies there were no previous state for the request, so changes collection was not started- Specified by:
logNoPreviousStatein interfaceChangesCollectionLogger- Overrides:
logNoPreviousStatein classChangesLoaderLoggerImpl- Parameters:
state- request
-
logPreviousState
public void logPreviousState(@NotNull LoadChangesRequest state, RepositoryState filteredFromState)- Specified by:
logPreviousStatein interfaceChangesCollectionLogger- Overrides:
logPreviousStatein classChangesLoaderLoggerImpl
-
logCollectionCommonCheckoutRule
public void logCollectionCommonCheckoutRule(@NotNull LoadChangesRequest state)Description copied from interface:ChangesLoaderLogger2. Notification called on collection of changes by combined checkout rule- Specified by:
logCollectionCommonCheckoutRulein interfaceChangesLoaderLogger- Overrides:
logCollectionCommonCheckoutRulein classChangesLoaderLoggerImpl- Parameters:
state- state
-
logChangesCollectionStarting
public void logChangesCollectionStarting(@NotNull Set<LVcsRootInstance> roots)Description copied from interface:ChangesCollectionLoggerCalled when system decided to start changes collection on build start- Specified by:
logChangesCollectionStartingin interfaceChangesCollectionLogger- Overrides:
logChangesCollectionStartingin classChangesLoaderLoggerImpl
-
logChangesCollectionFinished
public void logChangesCollectionFinished(@NotNull Set<LVcsRootInstance> roots)Description copied from interface:ChangesCollectionLoggerCalled when system finishes changes collecting on build start- Specified by:
logChangesCollectionFinishedin interfaceChangesCollectionLogger- Overrides:
logChangesCollectionFinishedin classChangesLoaderLoggerImpl
-
logLockingVcsRootToCollectChanges
public void logLockingVcsRootToCollectChanges(@NotNull LVcsRootInstance root)- Specified by:
logLockingVcsRootToCollectChangesin interfaceChangesCollectionLogger- Overrides:
logLockingVcsRootToCollectChangesin classChangesLoaderLoggerImpl
-
logObtainingCurrentState
public void logObtainingCurrentState(@NotNull LVcsRootInstance root)- Specified by:
logObtainingCurrentStatein interfaceChangesCollectionLogger- Overrides:
logObtainingCurrentStatein classChangesLoaderLoggerImpl
-
logObtainingCurrentStateFinished
public void logObtainingCurrentStateFinished(@NotNull LVcsRootInstance root)- Specified by:
logObtainingCurrentStateFinishedin interfaceChangesCollectionLogger- Overrides:
logObtainingCurrentStateFinishedin classChangesLoaderLoggerImpl
-
logProgress
public void logProgress(@NotNull LVcsRootInstance root, @NotNull String progress)- Specified by:
logProgressin interfaceChangesCollectionLogger- Specified by:
logProgressin interfaceChangesLoaderLogger- Overrides:
logProgressin classChangesLoaderLoggerImpl
-
logErrorCollectionByCommonRule
public void logErrorCollectionByCommonRule(@NotNull LoadChangesRequest state, @NotNull VcsIncludeRulesException e)Description copied from interface:ChangesLoaderLogger2.1 Collection of changes by combined checkout rule may failed- Specified by:
logErrorCollectionByCommonRulein interfaceChangesLoaderLogger- Overrides:
logErrorCollectionByCommonRulein classChangesLoaderLoggerImpl- Parameters:
state- statee- error
-
logCollectionCommonCheckoutRuleWithoutBadRules
public void logCollectionCommonCheckoutRuleWithoutBadRules(LoadChangesRequest state, CheckoutRules combinedRule)
Description copied from interface:ChangesLoaderLogger3. Collection of changes will be performed without problematic checkout rules- Specified by:
logCollectionCommonCheckoutRuleWithoutBadRulesin interfaceChangesLoaderLogger- Overrides:
logCollectionCommonCheckoutRuleWithoutBadRulesin classChangesLoaderLoggerImpl- Parameters:
state- general statecombinedRule- combined checkout rule
-
logStartCollectingChanges
public void logStartCollectingChanges(@NotNull LoadChangesRequest state, @NotNull Date date)Description copied from interface:ChangesLoaderLogger1. Notification called on collection changes start- Specified by:
logStartCollectingChangesin interfaceChangesLoaderLogger- Overrides:
logStartCollectingChangesin classChangesLoaderLoggerImpl- Parameters:
state- state
-
logFinishCollectingChanges
public void logFinishCollectingChanges(@NotNull LoadChangesRequest state, boolean hadErrors, int persistedChangesCount, int collectedChangesCount, @NotNull Date whenStarted, @NotNull Date whenFinished, long changesPersistingDurationMillis)Description copied from interface:ChangesLoaderLogger4. changes collection is completed- Specified by:
logFinishCollectingChangesin interfaceChangesLoaderLogger- Overrides:
logFinishCollectingChangesin classChangesLoaderLoggerImpl- Parameters:
state- statehadErrors- had errors during comllectionpersistedChangesCount- number of changes storedcollectedChangesCount- number of changes collectedwhenStarted- time of startwhenFinished- time of finish
-
-