Class BitbucketServerApplicationLinkChangeListener
java.lang.Object
com.atlassian.bamboo.plugins.stash.events.BitbucketServerApplicationLinkChangeListener
-
Constructor Summary
ConstructorsConstructorDescriptionBitbucketServerApplicationLinkChangeListener(com.atlassian.applinks.api.ApplicationLinkService applicationLinkService, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, com.atlassian.plugins.whitelist.WhitelistService whitelistService) -
Method Summary
Modifier and TypeMethodDescriptionvoidonApplicationLinkAdded(com.atlassian.applinks.api.event.ApplicationLinkAddedEvent event) voidonApplicationLinkDeleted(com.atlassian.applinks.api.event.ApplicationLinkDeletedEvent event) voidonPluginFrameworkStarted(com.atlassian.plugin.event.events.PluginFrameworkStartedEvent event) static Predicate<com.atlassian.plugins.whitelist.WhitelistRule> withExpression(@NotNull String expression) static Predicate<com.atlassian.plugins.whitelist.WhitelistRule> withType(@NotNull com.atlassian.plugins.whitelist.WhitelistType type)
-
Constructor Details
-
BitbucketServerApplicationLinkChangeListener
@Inject public BitbucketServerApplicationLinkChangeListener(com.atlassian.applinks.api.ApplicationLinkService applicationLinkService, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, com.atlassian.plugins.whitelist.WhitelistService whitelistService)
-
-
Method Details
-
onApplicationLinkAdded
@EventListener public void onApplicationLinkAdded(com.atlassian.applinks.api.event.ApplicationLinkAddedEvent event) -
onApplicationLinkDeleted
@EventListener public void onApplicationLinkDeleted(com.atlassian.applinks.api.event.ApplicationLinkDeletedEvent event) -
onPluginFrameworkStarted
@EventListener public void onPluginFrameworkStarted(com.atlassian.plugin.event.events.PluginFrameworkStartedEvent event) -
withType
public static Predicate<com.atlassian.plugins.whitelist.WhitelistRule> withType(@NotNull @NotNull com.atlassian.plugins.whitelist.WhitelistType type) -
withExpression
-