Class NoValueProviderInRoleValidator
- java.lang.Object
-
- io.wcm.devops.conga.tooling.maven.plugin.validation.NoValueProviderInRoleValidator
-
- All Implemented Interfaces:
DefinitionValidator<Void>
public final class NoValueProviderInRoleValidator extends Object implements DefinitionValidator<Void>
Ensures that nor value providers are used in role models. They should only be used in environments.
-
-
Constructor Summary
Constructors Constructor Description NoValueProviderInRoleValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Void
validate(Resource resource, String pathForLog)
Validates the given resource
-
-
-
Method Detail
-
validate
public Void validate(Resource resource, String pathForLog) throws org.apache.maven.plugin.MojoFailureException
Description copied from interface:DefinitionValidator
Validates the given resource- Specified by:
validate
in interfaceDefinitionValidator<Void>
- Parameters:
resource
- ResourcepathForLog
- Path for log message- Returns:
- Result
- Throws:
org.apache.maven.plugin.MojoFailureException
- Mojo failure exception
-
-