Package com.atlassian.plugin.util
Class PluginKeyStack
java.lang.Object
com.atlassian.plugin.util.PluginKeyStack
The stack to maintain the keys of a list of services which the service itself invokes.
- Since:
- 5.7.x
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringThe first pluginKey which was pushed to the stackA set of pluginKeys which represent the services which the current service has invokedstatic Stringpop()A service will remove a pluginKey from the stack at the point at which the method invocation of another service is completestatic voidA service will add a pluginKey to the stack at the point at which it invokes another service
-
Method Details
-
push
A service will add a pluginKey to the stack at the point at which it invokes another service- Parameters:
pluginKey-
-
pop
A service will remove a pluginKey from the stack at the point at which the method invocation of another service is complete -
getPluginKeys
A set of pluginKeys which represent the services which the current service has invoked -
getFirstPluginKey
The first pluginKey which was pushed to the stack
-