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