1 11 package org.eclipse.team.internal.ccvs.core.syncinfo; 12 13 import org.eclipse.team.internal.ccvs.core.CVSTag; 14 15 29 public class MutableFolderSyncInfo extends FolderSyncInfo { 30 31 public MutableFolderSyncInfo(FolderSyncInfo info) { 32 this(info.getRepository(), info.getRoot(), info.getTag(), info.getIsStatic()); 33 } 34 35 public MutableFolderSyncInfo(String repo, String root, CVSTag tag, boolean isStatic) { 36 super(repo, root, tag, isStatic); 37 } 38 39 public void setTag(CVSTag tag) { 40 super.setTag(tag); 41 } 42 43 public void setRepository(String repository) { 44 this.repository = repository; 45 } 46 47 public void setStatic(boolean isStatic) { 48 this.isStatic = isStatic; 49 } 50 51 public FolderSyncInfo asImmutable() { 52 return new FolderSyncInfo(getRepository(), getRoot(), getTag(), getIsStatic()); 53 } 54 55 public void setRoot(String root) { 56 this.root = root; 57 } 58 } 59 | Popular Tags |