@ConfigurationProperties(prefix="genie.agent.filter")
@Validated
public class AgentFilterProperties
extends java.lang.Object
implements org.springframework.context.EnvironmentAware
AgentFilterService
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VERSION_FILTER_ENABLED_PROPERTY
Property that enables the default implementation of
AgentFilterService . |
Constructor and Description |
---|
AgentFilterProperties() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBlacklistedVersions()
Get the (dynamic) property value containing a regular expression used to blacklist agent versions.
|
java.lang.String |
getMinimumVersion()
Get the (dynamic) property value representing the minimum agent version allowed to connect.
|
java.lang.String |
getWhitelistedVersions()
Get the (dynamic) property value containing a regular expression used to whitelist agent versions.
|
void |
setEnvironment(org.springframework.core.env.Environment environment) |
public static final java.lang.String VERSION_FILTER_ENABLED_PROPERTY
AgentFilterService
.public void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment
in interface org.springframework.context.EnvironmentAware
@Nullable public java.lang.String getMinimumVersion()
@Nullable public java.lang.String getBlacklistedVersions()
@Nullable public java.lang.String getWhitelistedVersions()