public interface PluginFormFragmentsFactory
PluginFormFragments
. Use to get a PluginFormFragments
for a particular form.PluginFormFragments
Modifier and Type | Method and Description |
---|---|
boolean |
existsForKey(String formKey)
Checks if any form fragment is associated with a form key.
|
PluginFormFragments |
forKey(String formKey,
Map<String,Object> context)
Gets the form fragments associated with a form key.
|
boolean existsForKey(@Nonnull String formKey)
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.true
if any form fragment is associated with the key@Nonnull PluginFormFragments forKey(@Nonnull String formKey, @Nonnull Map<String,Object> context)
formKey
- the key of the form to retrieve ContextualFormFragment
s for. For example
"bitbucket.admin.serversettings" for the Server Settings administration page.context
- map with contextual objectsPluginFormFragments
collating all ContextualFormFragment
s
registered for the specified key.Copyright © 2024 Atlassian. All rights reserved.