public interface

MetadataMap

com.atlassian.bitbucket.repository.MetadataMap

Class Overview

A map of pluggable metadata associated with a Ref

Summary

Public Methods
@Nonnull Map<StringObject> asMap()
boolean contains(String completeModuleKey)
@Nullable Object get(String completeModuleKey)

Public Methods

@Nonnull public Map<StringObject> asMap ()

Returns
  • return the metadata as an immutable Map, keyed by complete module key.

public boolean contains (String completeModuleKey)

Parameters
completeModuleKey the complete module key of the provider which provided the metadata
Returns
  • true if metadata exists for this module key, false otherwise

@Nullable public Object get (String completeModuleKey)

Parameters
completeModuleKey the complete module key of the provider which provided the metadata
Returns
  • the associated metadata