public interface CommitPropertyConfiguration
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getPropertiesToPreload(com.atlassian.bitbucket.repository.Repository repository) |
default Map<String,Map<String,Object>> |
processProperties(Map<String,Map<String,Object>> commitIdToProperties)
Go through the provided
commitIdToProperties and process each of the commit ID's properties that are
supplied. |
@Nonnull Collection<String> getPropertiesToPreload(com.atlassian.bitbucket.repository.Repository repository)
repository
- the repositoryCommitIndex
@Nonnull default Map<String,Map<String,Object>> processProperties(@Nonnull Map<String,Map<String,Object>> commitIdToProperties)
commitIdToProperties
and process each of the commit ID's properties that are
supplied. The processing on the properties is done to match the desired representation of the properties for
consumption. Our processing of these commit ID's properties is performed this way for efficiency reasons and
to not have to call this method for each commit that needs to have its properties processed.commitIdToProperties
- the commit IDs along with their respective propertiesCopyright © 2024 Atlassian. All rights reserved.