@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.
|
List<File> |
getAppliedPatchesWithRelativePaths(Path muleDistribution)
Retrieves all the applied patches of a given Mule Runtime Distribution if any using relative paths.
|
Path |
getPatchesDir(Path muleDistribution)
Get patches dir inside the Mule Distribution path passed as parameter
|
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.public List<File> getAppliedPatchesWithRelativePaths(Path muleDistribution) throws FileNotFoundException
getAppliedPatchesWithRelativePaths 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.public Path getPatchesDir(Path muleDistribution)
getPatchesDir in interface DistroPatchServicemuleDistribution - location of the Mule distribution to get the patches dir.Copyright © 2022 MuleSoft, Inc.. All rights reserved.