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 ofVelocityContextItemProvider
s, providing a map that is the aggregation of all providers.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.confluence.setup.velocity.VelocityContextItemProvider
VelocityContextItemProvider.VelocityContextItemKeys
-
-
Constructor Summary
Constructors Constructor Description ContextItemProviderChain()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getContextMap()
void
setProviders(List<VelocityContextItemProvider> providers)
-
-
-
Method Detail
-
getContextMap
public Map<String,Object> getContextMap()
- Specified by:
getContextMap
in interfaceVelocityContextItemProvider
- Returns:
- A map of values to be used within a Velocity
Context
. Must not be null
-
setProviders
public void setProviders(List<VelocityContextItemProvider> providers)
-
-