com.atlassian.confluence.setup.velocity
Class ContextItemProviderChain

java.lang.Object
  extended by com.atlassian.confluence.setup.velocity.ContextItemProviderChain
All Implemented Interfaces:
VelocityContextItemProvider

public final class ContextItemProviderChain
extends Object
implements VelocityContextItemProvider

Chains a list of VelocityContextItemProviders, providing a map that is the aggregation of all providers.


Constructor Summary
ContextItemProviderChain()
           
 
Method Summary
 Map<String,Object> getContextMap()
           
 void setProviders(List<VelocityContextItemProvider> providers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextItemProviderChain

public ContextItemProviderChain()
Method Detail

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)


Copyright © 2003-2012 Atlassian. All Rights Reserved.