Package com.atlassian.bitbucket.ui
Interface PluginFormFragmentsFactory
public interface PluginFormFragmentsFactory
Factory for
PluginFormFragments
. Use to get a PluginFormFragments
for a particular form.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
existsForKey
(String formKey) Checks if any form fragment is associated with a form key.Gets the form fragments associated with a form key.
-
Method Details
-
existsForKey
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
-
forKey
Gets the form fragments associated with a form key.- Parameters:
formKey
- the key of the form to retrieveContextualFormFragment
s for. For example "bitbucket.admin.serversettings" for the Server Settings administration page.context
- map with contextual objects- Returns:
PluginFormFragments
collating allContextualFormFragment
s registered for the specified key.
-