Package jetbrains.buildServer.vcs
Interface ChangesConsumer
-
@SystemProvided public interface ChangesConsumer
Common system-provided interface used to consume detected changes.- Since:
- 8.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
consumeChange(ChangeData change)
Callback method to report detectedChangeData
objects to the system.
-
-
-
Method Detail
-
consumeChange
void consumeChange(@NotNull ChangeData change) throws VcsException
Callback method to report detectedChangeData
objects to the system.
VcsException
could be thrown in the case the system failed to process submittedChangeData
. VCS Plugin implementation should re-throw the exception as is and carefully close all underlying resources.
There are following assumptions held:- All possible (and impossible) exceptions MUST be re-thrown in plugin code
- Callback method should be called exactly from the SINGLE thread
- It is only allowed to call the method within VCS Plugin API call
- Parameters:
change
- detected change- Throws:
VcsException
- Since:
- 8.1
-
-