Class AgentBundleArtifactValidatorFactory

java.lang.Object
com.agentforge4j.config.loader.agent.AgentBundleArtifactValidatorFactory
All Implemented Interfaces:
ArtifactValidatorFactory

public final class AgentBundleArtifactValidatorFactory extends Object implements ArtifactValidatorFactory
ArtifactValidatorFactory for the built-in agent-bundle validator, discovered via ServiceLoader. Produces an AgentBundleArtifactValidator that runs the production AgentDefinitionAssembler parse/validate path over the supplied ObjectMapper.
  • Constructor Details

    • AgentBundleArtifactValidatorFactory

      public AgentBundleArtifactValidatorFactory()
  • Method Details

    • create

      public ArtifactValidator create(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      Creates the agent-bundle validator bound to the given mapper.
      Specified by:
      create in interface ArtifactValidatorFactory
      Parameters:
      objectMapper - the configured mapper; must not be null
      Returns:
      the agent-bundle validator