| Modifier and Type | Method and Description |
|---|---|
static Boolean |
AllowedDependencyValidator.areDependenciesAllowed(List<ArtifactCoordinates> artifactCoordinates)
Validates if a list of
ArtifactCoordinates is allowed based on its classifier and scope |
protected static void |
MuleArtifactJsonValidator.checkMinMuleVersionValue(org.mule.runtime.api.deployment.meta.MuleApplicationModel muleArtifact,
List<String> missingFields,
Optional<String> deployMuleVersion)
Checks that the minMuleVersion field is present in the mule artifact instance.
|
static String |
VersionUtils.completeIncremental(String version)
It completes the incremental version number with 0 in the event the version provided has the form x to become x.0.0 or x.y to
become x.y.0
|
static void |
MuleArtifactJsonValidator.isMuleArtifactJsonPresent(Path projectBaseDir)
It validates that the mandatory descriptor file is present.
|
static void |
MuleArtifactJsonValidator.isMuleArtifactJsonValid(Path projectBaseDir,
Optional<String> deployMuleVersion)
It validates that the mandatory descriptor file is valid.
|
static Boolean |
VersionUtils.isVersionGreaterOrEquals(String version1,
String version2)
Validates if
version1 is greater or equal than version2 |
void |
MulePluginsCompatibilityValidator.validate(List<ArtifactCoordinates> mulePlugins)
Validates a list of dependencies to check for incompatibilities
|
static void |
MuleArtifactJsonValidator.validate(Path projectBaseDir,
Optional<String> deployMuleVersion)
It validates that the mandatory descriptor file is present and is valid.
|
protected static void |
MuleArtifactJsonValidator.validateMuleArtifactMandatoryFields(org.mule.runtime.api.deployment.meta.MuleApplicationModel muleArtifact,
Optional<String> deployMuleVersion)
Validates that the mandatory fields in the mule-artifact.json file are present and have valid values.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProjectDeploymentValidator.isDeployable()
Validates if it can be deployed to an environment
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
AbstractProjectValidator.additionalValidation() |
protected void |
DomainBundleProjectValidator.additionalValidation()
Validates that the mule domain dependencies resolution conform to the mule domain bundle package definition.
|
protected void |
MuleProjectValidator.additionalValidation() |
static Boolean |
AbstractProjectValidator.isClassifierValid(String classifier)
It validates that the provided packaging types is a valid one
|
protected abstract void |
AbstractProjectValidator.isDeploymentValid() |
protected void |
DomainBundleProjectValidator.isDeploymentValid() |
protected void |
MuleProjectValidator.isDeploymentValid() |
static Boolean |
AbstractProjectValidator.isPackagingTypeValid(String packagingType)
It validates that the provided packaging types is a valid one
|
static void |
MuleProjectValidator.isProjectStructureValid(String packagingType,
Path projectBaseDir)
It validates the project folder structure is valid
|
Boolean |
AbstractProjectValidator.isProjectValid(String goal)
Ensure a project contained in the projectBaseDir is valid based on its packaging type.
|
protected void |
DomainBundleProjectValidator.validateApplication(ArtifactCoordinates domain,
ArtifactCoordinates applicationCoordinates)
Validates that an application refers to a unique domain.
|
protected void |
DomainBundleProjectValidator.validateApplications(ArtifactCoordinates domain,
List<ArtifactCoordinates> applications)
Validates that all applications refers to a unique domain.
|
protected void |
MuleProjectValidator.validateDescriptorFile(Path projectBaseDir,
Optional<String> deployMuleVersion) |
protected void |
DomainBundleProjectValidator.validateDomain(Set<ArtifactCoordinates> domains)
Validates if a set of artifact coordinates is a valid set of domains in a bundle domain package.
|
protected void |
MuleProjectValidator.validateDomain(Set<ArtifactCoordinates> domains)
Validates if a set of artifact coordinates is a valid set of domains referenced by a mule project.
|
protected void |
MuleProjectValidator.validateReferencedDomainsIfPresent(List<ArtifactCoordinates> dependencies)
Validates if a list of dependencies of a mule project conforms to the cardinality restrictions of domains referenced by a
mule project.
|
void |
MuleProjectValidator.validateSharedLibraries(List<SharedLibraryDependency> sharedLibraries,
List<ArtifactCoordinates> projectDependencies)
It validates if every shared library is present in the project dependencies.
|
| Modifier and Type | Method and Description |
|---|---|
List<ArtifactCoordinates> |
MulePluginResolver.resolve()
Retrieves all of the direct and transitive mule plugin project dependencies.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProjectDependencyNode.accept(DependencyNodeVisitor visitor)
Accepts the visitor, invoking the visit method.
|
ProjectDependencyNode |
ProjectDependencyNode.buildNode(ArtifactCoordinates dependency)
Builds a
ProjectDependencyNode using the default builder |
Set<ProjectDependencyNode> |
ProjectDependencyNode.getChildren(DependenciesFilter filter)
Retrieves a set containing the direct dependency nodes based on a filter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractArtifactVisitor.visit(ProjectDependencyNode node)
Visits a node, processing its direct dependencies (that are of the type defined by the classifier in the constructor) and
visiting its children.
|
void |
MulePluginResolverVisitor.visit(ProjectDependencyNode node)
Used to visit the project root.
|
void |
DependencyNodeVisitor.visit(ProjectDependencyNode dependencyNode)
Visits a dependency node
|
protected void |
AbstractArtifactVisitor.visitChildren(ProjectDependencyNode node)
Visits each the current node's children with the visitor that was supplied in the constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProjectVerifier.verify() |
void |
MuleProjectVerifier.verify() |
| Modifier and Type | Method and Description |
|---|---|
void |
MulePolicyVerifier.verify() |
Copyright © 2018 MuleSoft Inc. All rights reserved.