com.atlassian.confluence.setup.velocity
Class ContextItemProviderChain
java.lang.Object
com.atlassian.confluence.setup.velocity.ContextItemProviderChain
- All Implemented Interfaces:
- VelocityContextItemProvider
public final class ContextItemProviderChain
- extends Object
- implements VelocityContextItemProvider
Chains a list of VelocityContextItemProvider
s, providing a map that
is the aggregation of all providers.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextItemProviderChain
public ContextItemProviderChain()
getContextMap
public Map<String,Object> getContextMap()
- Specified by:
getContextMap
in interface VelocityContextItemProvider
- Returns:
- A map of values to be used within a Velocity
Context
. Must not be
null
setProviders
public void setProviders(List<VelocityContextItemProvider> providers)