Class AgentFilterProperties

java.lang.Object
com.netflix.genie.web.properties.AgentFilterProperties
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.EnvironmentAware

@ConfigurationProperties(prefix="genie.agent.filter") @Validated public class AgentFilterProperties extends Object implements org.springframework.context.EnvironmentAware
Properties for the AgentFilterService.
Since:
4.0.0
  • Field Details

  • Constructor Details

    • AgentFilterProperties

      public AgentFilterProperties()
  • Method Details

    • setEnvironment

      public void setEnvironment(org.springframework.core.env.Environment environment)
      Specified by:
      setEnvironment in interface org.springframework.context.EnvironmentAware
    • getMinimumVersion

      @Nullable public String getMinimumVersion()
      Get the (dynamic) property value representing the minimum agent version allowed to connect.
      Returns:
      a version string or null if a minimum is not active
    • getBlacklistedVersions

      @Nullable public String getBlacklistedVersions()
      Get the (dynamic) property value containing a regular expression used to blacklist agent versions.
      Returns:
      a string containing a regular expression pattern, or null if one is not set
    • getWhitelistedVersions

      @Nullable public String getWhitelistedVersions()
      Get the (dynamic) property value containing a regular expression used to whitelist agent versions.
      Returns:
      a string containing a regular expression pattern, or null if one is not set