Class OgnlStackUtils

java.lang.Object
com.atlassian.bamboo.struts.OgnlStackUtils

public final class OgnlStackUtils extends Object
A helper class that encapsulates handling of OGNL stack and context.
  • Method Details

    • getOgnlStack

      @Nullable public static @Nullable com.opensymphony.xwork2.util.ValueStack getOgnlStack()
    • getOgnlContext

      @NotNull public static @NotNull Map<String,Object> getOgnlContext()
      Returns the OGNL context for the current action. The context is unmodifiable.
    • putAll

      public static void putAll(Map<String,? extends Object> map)
    • putAllIfAbsent

      public static void putAllIfAbsent(Map<String,Object> map)
    • putAllIfPresent

      public static void putAllIfPresent(Map<String,Object> map)