@Service public class DefaultDistroPatchService extends Object implements DistroPatchService
| Modifier and Type | Field and Description |
|---|---|
protected static Path |
PATCHES_DIR |
| Constructor and Description |
|---|
DefaultDistroPatchService() |
| Modifier and Type | Method and Description |
|---|---|
List<File> |
getAppliedPatches(Path muleDistribution)
Retrieves all the file paths of the applied patches of a given Mule Runtime Distribution if any.
|
protected static final Path PATCHES_DIR
public List<File> getAppliedPatches(Path muleDistribution) throws FileNotFoundException
getAppliedPatches in interface DistroPatchServicemuleDistribution - location of the Mule distribution where patches could reside.FileNotFoundException - if patches dir is not found within the given mule distro location.Copyright © 2021 MuleSoft, Inc.. All rights reserved.