Class AgentCreatorBundleValidatorFactory

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

public final class AgentCreatorBundleValidatorFactory extends Object implements ArtifactValidatorFactory
ArtifactValidatorFactory for the built-in agent-creator-bundle validator, discovered via ServiceLoader. Produces an AgentCreatorBundleValidator that runs the production agent-bundle parse/validate path plus the verification-starter structural checks over the supplied ObjectMapper.
  • Constructor Details

    • AgentCreatorBundleValidatorFactory

      public AgentCreatorBundleValidatorFactory()
  • Method Details

    • create

      public ArtifactValidator create(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      Creates the agent-creator-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-creator-bundle validator