T
- the type of the metadatapublic interface RefMetadataProvider<T>
Ref
.
To define a RefMetadataProvider
within your plugin you will need to implement this interface
and add the following to your atlassian-plugin.xml.
<ref-metadata key="my-metadata-provider" class="com.example.MyMetadataProvider" />
MetadataMap
Modifier and Type | Method and Description |
---|---|
Map<com.atlassian.bitbucket.repository.Ref,T> |
getMetadata(RefMetadataContext context) |
@Nonnull Map<com.atlassian.bitbucket.repository.Ref,T> getMetadata(@Nonnull RefMetadataContext context)
context
- the context in which the metadata is being providedRef
Copyright © 2024 Atlassian. All rights reserved.