Class MinimumVersionAgentMetadataInspector
- java.lang.Object
-
- com.netflix.genie.web.agent.inspectors.impl.MinimumVersionAgentMetadataInspector
-
- All Implemented Interfaces:
AgentMetadataInspector
public class MinimumVersionAgentMetadataInspector extends java.lang.Object implements AgentMetadataInspector
AnAgentMetadataInspector
that rejects agents whose version is older than a given version.- Since:
- 4.0.0
-
-
Constructor Summary
Constructors Constructor Description MinimumVersionAgentMetadataInspector(AgentFilterProperties agentFilterProperties)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InspectionReport
inspect(@Valid AgentClientMetadata agentClientMetadata)
Perform inspection of an Agent client metadata.
-
-
-
Constructor Detail
-
MinimumVersionAgentMetadataInspector
public MinimumVersionAgentMetadataInspector(AgentFilterProperties agentFilterProperties)
Constructor.- Parameters:
agentFilterProperties
- agent filter properties
-
-
Method Detail
-
inspect
public InspectionReport inspect(@Valid @Valid AgentClientMetadata agentClientMetadata)
Perform inspection of an Agent client metadata.- Specified by:
inspect
in interfaceAgentMetadataInspector
- Parameters:
agentClientMetadata
- the agent client metadata- Returns:
- the inspection outcome
-
-