public class PatchingGarbageLocator extends Object
Modifier | Constructor and Description |
---|---|
protected |
PatchingGarbageLocator(InstalledIdentity installedIdentity) |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
deleteDir(File dir,
FilenameFilter filter) |
void |
deleteInactiveContent()
Delete inactive contents.
|
List<File> |
getInactiveHistory()
Get the inactive history directories.
|
List<File> |
getInactiveOverlays()
Get the inactive overlay directories.
|
static PatchingGarbageLocator |
getIninitialized(InstalledIdentity installedIdentity)
Get the garbage locator.
|
void |
reset() |
protected PatchingGarbageLocator(InstalledIdentity installedIdentity)
public static PatchingGarbageLocator getIninitialized(InstalledIdentity installedIdentity)
installedIdentity
- the installed identitypublic void reset()
public List<File> getInactiveHistory() throws PatchingException
PatchingException
public List<File> getInactiveOverlays() throws PatchingException
PatchingException
public void deleteInactiveContent() throws PatchingException
PatchingException
protected static boolean deleteDir(File dir, FilenameFilter filter)
Copyright © 2023 JBoss by Red Hat. All rights reserved.