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 java.lang.Object
implements VelocityContextItemProvider

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


Constructor Summary
ContextItemProviderChain()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getContextMap()
           
 void setProviders(java.util.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 java.util.Map<java.lang.String,java.lang.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(java.util.List<VelocityContextItemProvider> providers)


Copyright © 2003-2014 Atlassian. All Rights Reserved.