Class ClusterContextItemProvider
- java.lang.Object
-
- com.atlassian.confluence.setup.velocity.ClusterContextItemProvider
-
- All Implemented Interfaces:
VelocityContextItemProvider
public class ClusterContextItemProvider extends Object implements VelocityContextItemProvider
Provides the current cluster node's identifier to the velocity context.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.confluence.setup.velocity.VelocityContextItemProvider
VelocityContextItemProvider.VelocityContextItemKeys
-
-
Constructor Summary
Constructors Constructor Description ClusterContextItemProvider(ClusterManager clusterManager)
-
-
-
Constructor Detail
-
ClusterContextItemProvider
public ClusterContextItemProvider(ClusterManager clusterManager)
-
-
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
-
-