Class MinimumVersionAgentMetadataInspector
java.lang.Object
com.netflix.genie.web.agent.inspectors.impl.MinimumVersionAgentMetadataInspector
- All Implemented Interfaces:
AgentMetadataInspector
An
AgentMetadataInspector
that rejects agents whose version is older than a given version.- Since:
- 4.0.0
-
Constructor Summary
ConstructorDescriptionMinimumVersionAgentMetadataInspector
(AgentFilterProperties agentFilterProperties) Constructor. -
Method Summary
Modifier and TypeMethodDescriptioninspect
(@Valid AgentClientMetadata agentClientMetadata) Perform inspection of an Agent client metadata.
-
Constructor Details
-
MinimumVersionAgentMetadataInspector
Constructor.- Parameters:
agentFilterProperties
- agent filter properties
-
-
Method Details
-
inspect
Perform inspection of an Agent client metadata.- Specified by:
inspect
in interfaceAgentMetadataInspector
- Parameters:
agentClientMetadata
- the agent client metadata- Returns:
- the inspection outcome
-