| Package | Description |
|---|---|
| org.mule.tools.api.validation |
| Modifier and Type | Method and Description |
|---|---|
protected void |
MuleProjectValidator.additionalValidation() |
protected void |
DomainBundleProjectValidator.additionalValidation()
Validates that the mule domain dependencies resolution conform to the mule domain bundle package definition.
|
protected abstract void |
AbstractProjectValidator.additionalValidation() |
protected static void |
MuleArtifactJsonValidator.checkMinMuleVersionValue(org.mule.runtime.api.deployment.meta.MuleApplicationModel muleArtifact,
List<String> missingFields,
Deployment deploymentConfiguration)
Checks that the minMuleVersion field is present in the mule artifact instance.
|
protected List<ArtifactCoordinates> |
MulePluginResolver.getAllMulePluginDependencies(Project project,
String scope) |
static void |
MuleArtifactJsonValidator.isMuleArtifactJsonPresent(Path projectBaseDir)
It validates that the mandatory descriptor file is present.
|
static void |
MuleArtifactJsonValidator.isMuleArtifactJsonValid(Path projectBaseDir,
Deployment deploymentConfiguration)
It validates that the mandatory descriptor file is valid.
|
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()
Ensure a project contained in the projectBaseDir is valid based on its packaging type.
|
protected static void |
AbstractProjectValidator.isProjectVersionValid(String version) |
List<ArtifactCoordinates> |
MulePluginResolver.resolveMulePlugins(Project project) |
void |
MulePluginsCompatibilityValidator.validate(List<ArtifactCoordinates> mulePlugins)
Validates a list of dependencies to check for incompatibilities
|
static void |
MuleArtifactJsonValidator.validate(Path projectBaseDir,
Deployment deploymentConfiguration)
It validates that the mandatory descriptor file is present and is valid.
|
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,
Deployment deploymentConfiguration) |
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 |
DomainBundleProjectValidator.validateDomain(Set<ArtifactCoordinates> domains)
Validates if a set of artifact coordinates is a valid set of domains in a bundle domain package.
|
protected static void |
MuleArtifactJsonValidator.validateMuleArtifactMandatoryFields(org.mule.runtime.api.deployment.meta.MuleApplicationModel muleArtifact,
Deployment deploymentConfiguration)
Validates that the mandatory fields in the mule-artifact.json file are present and have valid values.
|
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.
|
Copyright © 2017. All rights reserved.