Module agentforge4j.config.loader
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Creates the agent-bundle validator bound to the given mapper.
-
Constructor Details
-
AgentBundleArtifactValidatorFactory
public AgentBundleArtifactValidatorFactory()
-
-
Method Details
-
create
Creates the agent-bundle validator bound to the given mapper.- Specified by:
createin interfaceArtifactValidatorFactory- Parameters:
objectMapper- the configured mapper; must not benull- Returns:
- the agent-bundle validator
-