public class AgentConfigurationServiceImpl extends java.lang.Object implements AgentConfigurationService
AgentConfigurationService
forwards properties set on the server that match a given
set of regular expressions, plus any additional ones specified in configuration.
It utilizes a cache to avoid recomputing the set of properties and values for every request.Constructor and Description |
---|
AgentConfigurationServiceImpl(AgentConfigurationProperties agentConfigurationProperties,
org.springframework.core.env.Environment environment)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getAgentProperties()
Produce a list of properties to be sent down to the agents running jobs.
|
public AgentConfigurationServiceImpl(AgentConfigurationProperties agentConfigurationProperties, org.springframework.core.env.Environment environment)
agentConfigurationProperties
- the propertiesenvironment
- the environmentpublic java.util.Map<java.lang.String,java.lang.String> getAgentProperties()
getAgentProperties
in interface AgentConfigurationService