throw new RuntimeException(e); final PatchHistoryIterator.Builder builder = PatchHistoryIterator.Builder.create(installedIdentity); builder.addStateHandler(PatchingArtifacts.MODULE_OVERLAY, new PatchingArtifactStateHandler<PatchingFileArtifact.DirectoryArtifactState>() { @Override
throw new RuntimeException(e); final PatchHistoryIterator.Builder builder = PatchHistoryIterator.Builder.create(installedIdentity); builder.addStateHandler(PatchingArtifacts.MODULE_OVERLAY, new PatchingArtifactStateHandler<PatchingFileArtifact.DirectoryArtifactState>() { @Override
private static Set<String> processRollbackState(final String patchID, final InstalledIdentity identity) throws PatchingException { final Set<String> validHistory = new HashSet<String>(); final PatchHistoryIterator.Builder builder = PatchHistoryIterator.Builder.create(identity); final HistoryProcessor processor = new HistoryProcessor() {
final List<String> moduleDirs = new ArrayList<String>(); final List<String> bundleDirs = new ArrayList<String>(); final PatchHistoryIterator.Builder builder = PatchHistoryIterator.Builder.create(updateInstallationManager().getDefaultIdentity()); builder.addStateHandler(PatchingArtifacts.HISTORY_DIR, new PatchingArtifactStateHandler<PatchingFileArtifact.DirectoryArtifactState>() { @Override
private static Set<String> processRollbackState(final String patchID, final InstalledIdentity identity) throws PatchingException { final Set<String> validHistory = new HashSet<String>(); final PatchHistoryIterator.Builder builder = PatchHistoryIterator.Builder.create(identity); final HistoryProcessor processor = new HistoryProcessor() {
final List<String> bundleDirs = new ArrayList<String>(); final PatchHistoryIterator.Builder builder = PatchHistoryIterator.Builder.create(updateInstallationManager().getDefaultIdentity()); builder.addStateHandler(PatchingArtifacts.HISTORY_DIR, new PatchingArtifactStateHandler<PatchingFileArtifact.DirectoryArtifactState>() { @Override