public interface PreconditionsValidatorService
| Modifier and Type | Method and Description |
|---|---|
void |
checkRollbackReadiness(Path muleDistroLocation)
Checks that all preconditions for performing the rollback are met.
|
void |
checkUpgradeReadiness(MuleDistribution oldMule,
MuleDistribution newMule,
boolean force)
Checks that all preconditions for performing the upgrade are met.
|
void checkUpgradeReadiness(MuleDistribution oldMule, MuleDistribution newMule, boolean force) throws IOException
oldMule - MuleDistribution representing the old Mule Runtime distribution being upgraded.newMule - MuleDistribution representing the new Mule Runtime distribution used for the upgrade.force - whether explicit consent has been provided for the override related preconditions like the ones for the backup
and applied patches.IllegalStateException - if validations are not met.IOException - if an I/O error occurs.void checkRollbackReadiness(Path muleDistroLocation) throws IOException
muleDistroLocation - location of the Mule Runtime distribution being validated for rollback process.IllegalStateException - if validations are not met.IOException - if an I/O error occurs.Copyright © 2021 MuleSoft, Inc.. All rights reserved.