Class EphemeralAgentTemplateValidationServiceImpl
java.lang.Object
com.atlassian.bamboo.agent.ephemeral.validation.EphemeralAgentTemplateValidationServiceImpl
- All Implemented Interfaces:
EphemeralAgentTemplateValidationService
public class EphemeralAgentTemplateValidationServiceImpl
extends Object
implements EphemeralAgentTemplateValidationService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(@NotNull EphemeralAgentTemplate ephemeralAgentTemplate) Validates whether the template is a legit Ephemeral Agents template.
-
Constructor Details
-
EphemeralAgentTemplateValidationServiceImpl
public EphemeralAgentTemplateValidationServiceImpl()
-
-
Method Details
-
validate
public void validate(@NotNull @NotNull EphemeralAgentTemplate ephemeralAgentTemplate) throws TemplateValidationException Description copied from interface:EphemeralAgentTemplateValidationService
Validates whether the template is a legit Ephemeral Agents template.- Specified by:
validate
in interfaceEphemeralAgentTemplateValidationService
- Parameters:
ephemeralAgentTemplate
- entity to validate- Throws:
TemplateValidationException
- if the template does not pass validation
-