MutableTargetImpl(PatchableTarget.TargetInfo current, String currentVersion) { this.current = current; this.structure = current.getDirectoryStructure(); this.cumulativeID = current.getCumulativePatchID(); this.patchIds = new ArrayList<String>(current.getPatchIDs()); this.properties = new Properties(current.getProperties()); this.version = currentVersion; }
MutableTargetImpl(PatchableTarget.TargetInfo current, String currentVersion) { this.current = current; this.structure = current.getDirectoryStructure(); this.cumulativeID = current.getCumulativePatchID(); this.patchIds = new ArrayList<String>(current.getPatchIDs()); this.properties = new Properties(current.getProperties()); this.version = currentVersion; }
protected void restore() throws IOException { if (modified) { // persist the state for bundles and modules directory persist(current.getCumulativePatchID(), current.getPatchIDs(), current.getProperties()); } }
protected void restore() throws IOException { if (modified) { // persist the state for bundles and modules directory persist(current.getCumulativePatchID(), current.getPatchIDs(), current.getProperties()); } }
@Override public Properties getProperties() { return current.getProperties(); }
@Override public Properties getProperties() { return current.getProperties(); }