public class AllowedDependencyValidator extends Object
| Constructor and Description |
|---|
AllowedDependencyValidator() |
| Modifier and Type | Method and Description |
|---|---|
static Boolean |
areDependenciesAllowed(List<ArtifactCoordinates> artifactCoordinates)
Validates if a list of
ArtifactCoordinates is allowed based on its classifier and scope |
static Boolean |
isDependencyAllowed(ArtifactCoordinates artifactCoordinates)
Validates if artifactCoordinates
ArtifactCoordinates is allowed based on its classifier and scope |
public static Boolean areDependenciesAllowed(List<ArtifactCoordinates> artifactCoordinates) throws ValidationException
ArtifactCoordinates is allowed based on its classifier and scopeartifactCoordinates - the list of ArtifactCoordinates to validateArtifactCoordinates are allowedValidationException - if there is at least one dependency not allowedpublic static Boolean isDependencyAllowed(ArtifactCoordinates artifactCoordinates)
ArtifactCoordinates is allowed based on its classifier and scopeartifactCoordinates - the ArtifactCoordinates to validateArtifactCoordinates is allowedCopyright © 2018 MuleSoft Inc. All rights reserved.