com.atlassian.confluence.setup.webwork
Class ConfluenceVelocityContext
java.lang.Object
org.apache.velocity.context.AbstractContext
org.apache.velocity.VelocityContext
com.atlassian.confluence.setup.webwork.ConfluenceVelocityContext
- All Implemented Interfaces:
- Cloneable, org.apache.velocity.context.Context, org.apache.velocity.context.InternalEventContext
Deprecated. Since 3.0. Use ConfluenceVelocityManager.getConfluenceVelocityContext()
instead.
@Deprecated
public class ConfluenceVelocityContext
- extends org.apache.velocity.VelocityContext
A custom velocity context to return things we want to use in our Velocity templates.
Methods inherited from class org.apache.velocity.VelocityContext |
clone, internalGetKeys, internalPut, internalRemove |
Methods inherited from class org.apache.velocity.context.AbstractContext |
containsKey, get, getChainedContext, getKeys, put, remove |
ConfluenceVelocityContext
public ConfluenceVelocityContext()
- Deprecated.
internalGet
public Object internalGet(String key)
- Deprecated.
- Overrides:
internalGet
in class org.apache.velocity.VelocityContext
internalContainsKey
public boolean internalContainsKey(Object key)
- Deprecated.
- Overrides:
internalContainsKey
in class org.apache.velocity.VelocityContext
getConfluenceKeys
public Map<String,Object> getConfluenceKeys()
- Deprecated.
- This is only needed in MacroUtils at the moment - it's a bit of a hack, could be nicer - MCB
- Returns:
- a map of the confluence keys