getChangeMessageAddOn
default Optional<String> getChangeMessageAddOn(IdentifiedUser user,
ChangeNotes changeNotes,
PatchSet patchSet,
Map<String,Short> oldApprovals,
Map<String,Short> approvals)
Allows implementors to return a message that should be included into the change message that is
posted on post review.
- Parameters:
user
- the user that posts the review
changeNotes
- the change on which post review is performed
patchSet
- the patch set on which post review is performed
oldApprovals
- old approvals that changed as result of post review
approvals
- all current approvals
- Returns:
- message that should be included into the change message that is posted on post review,
Optional.empty()
if the change message should not be extended