Class PluginKeyStack

java.lang.Object
com.atlassian.plugin.util.PluginKeyStack

public final class PluginKeyStack extends Object
The stack to maintain the keys of a list of services which the service itself invokes.
Since:
5.7.x
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    The first pluginKey which was pushed to the stack
    static Set<String>
    A set of pluginKeys which represent the services which the current service has invoked
    static String
    pop()
    A service will remove a pluginKey from the stack at the point at which the method invocation of another service is complete
    static void
    push(String pluginKey)
    A service will add a pluginKey to the stack at the point at which it invokes another service

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • push

      public static void push(String pluginKey)
      A service will add a pluginKey to the stack at the point at which it invokes another service
      Parameters:
      pluginKey -
    • pop

      public static String pop()
      A service will remove a pluginKey from the stack at the point at which the method invocation of another service is complete
    • getPluginKeys

      public static Set<String> getPluginKeys()
      A set of pluginKeys which represent the services which the current service has invoked
    • getFirstPluginKey

      public static String getFirstPluginKey()
      The first pluginKey which was pushed to the stack