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
PatchingExceptionpublic List<File> getInactiveOverlays() throws PatchingException
PatchingExceptionpublic void deleteInactiveContent()
throws PatchingException
PatchingExceptionprotected static boolean deleteDir(File dir, FilenameFilter filter)
Copyright © 2014 JBoss by Red Hat. All rights reserved.