@ExperimentalApi
public interface HistoryMetadataManager
| Modifier and Type | Interface and Description |
|---|---|
static class |
HistoryMetadataManager.HistoryMetadataResult
Holds the information about retrieving history metadata, or errors encountered
|
| Modifier and Type | Method and Description |
|---|---|
HistoryMetadataManager.HistoryMetadataResult |
getHistoryMetadata(ChangeHistory changeHistory,
ApplicationUser user)
Retrieves the HistoryMetadata related to the ChangeHistory.
|
HistoryMetadataManager.HistoryMetadataResult |
getHistoryMetadata(long changeHistoryId)
Retrieves the HistoryMetadata releated to the ChangeHistory with the given id.
|
void |
saveHistoryMetadata(Long changeGroupId,
ApplicationUser user,
HistoryMetadata historyMetadata)
Persists the HistoryMetadata related to the change group.
|
void saveHistoryMetadata(@Nonnull Long changeGroupId, @Nullable ApplicationUser user, @Nonnull HistoryMetadata historyMetadata)
changeGroupId - the id of the changegroup to save the metadata foruser - the user that performed the change, null if anonymoushistoryMetadata - the metadata to persistHistoryMetadataManager.HistoryMetadataResult getHistoryMetadata(@Nonnull ChangeHistory changeHistory, @Nullable ApplicationUser user)
changeHistory - the change history to get the metadata foruser - the user retrieving the information (requires the VIEW_ISSUE permission for the associated issue), null if anonymousHistoryMetadataManager.HistoryMetadataResult getHistoryMetadata(long changeHistoryId)
changeHistoryId - the changehistory id to get the metadata forCopyright © 2002-2019 Atlassian. All Rights Reserved.