public interface

PluginFormFragmentsFactory

com.atlassian.bitbucket.ui.PluginFormFragmentsFactory

Class Overview

Factory for PluginFormFragments. Use to get a PluginFormFragments for a particular form.

Summary

Public Methods
boolean existsForKey(String formKey)
Checks if any form fragment is associated with a form key.
@Nonnull PluginFormFragments forKey(String formKey, Map<String, Object> context)
Gets the form fragments associated with a form key.

Public Methods

public boolean existsForKey (String formKey)

Checks if any form fragment is associated with a form key.

Parameters
formKey the key of the form to check for associated form fragments. For example "bitbucket.internal.page.admin.serversettings.serversettings" for the Server Settings administration page.
Returns
  • true if any form fragment is associated with the key

@Nonnull public PluginFormFragments forKey (String formKey, Map<String, Object> context)

Gets the form fragments associated with a form key.

Parameters
formKey the key of the form to retrieve ContextualFormFragments for. For example "bitbucket.admin.serversettings" for the Server Settings administration page.
context map with contextual objects
Returns