public interface RollbackService
| Modifier and Type | Method and Description |
|---|---|
void |
rollback(Path muleDistroLocation,
CommandOptions commandOptions)
Rolls back a Mule Runtime distribution upgrade from a backup if any exists.
|
void rollback(Path muleDistroLocation, CommandOptions commandOptions) throws IOException
muleDistroLocation - path to the Mule distribution to be rollback.commandOptions - configuration options for the rollback process.IOException - if an I/O error occurs.IllegalStateException - if there's no backup for the rollback of the given Mule distro.Copyright © 2021 MuleSoft, Inc.. All rights reserved.