1 11 package org.eclipse.team.internal.ccvs.core; 12 13 14 import org.eclipse.core.runtime.IProgressMonitor; 15 import org.eclipse.team.internal.ccvs.core.syncinfo.FolderSyncInfo; 16 17 24 public interface ICVSFolder extends ICVSResource { 25 26 public static final int FILE_MEMBERS = 1; 27 public static final int FOLDER_MEMBERS = 2; 28 public static final int IGNORED_MEMBERS = 4; 29 public static final int UNMANAGED_MEMBERS = 8; 30 public static final int MANAGED_MEMBERS = 16; 31 public static final int EXISTING_MEMBERS = 32; 32 public static final int PHANTOM_MEMBERS = 64; 33 public static final int ALL_MEMBERS = FILE_MEMBERS 34 | FOLDER_MEMBERS 35 | IGNORED_MEMBERS 36 | UNMANAGED_MEMBERS 37 | MANAGED_MEMBERS 38 | EXISTING_MEMBERS 39 | PHANTOM_MEMBERS; 40 public static final int ALL_EXISTING_MEMBERS = FILE_MEMBERS 41 | FOLDER_MEMBERS 42 | IGNORED_MEMBERS 43 | UNMANAGED_MEMBERS 44 | MANAGED_MEMBERS 45 | EXISTING_MEMBERS; 46 public static final int ALL_UNIGNORED_MEMBERS = FILE_MEMBERS 47 | FOLDER_MEMBERS 48 | UNMANAGED_MEMBERS 49 | MANAGED_MEMBERS 50 | EXISTING_MEMBERS 51 | PHANTOM_MEMBERS; 52 53 62 public ICVSResource[] fetchChildren(IProgressMonitor monitor) throws CVSException; 63 64 91 public ICVSResource[] members(int flags) throws CVSException; 92 93 97 public ICVSFolder getFolder(String name) throws CVSException; 98 99 103 public ICVSFile getFile(String name) throws CVSException; 104 105 109 public ICVSResource getChild(String path) throws CVSException; 110 111 117 public void mkdir() throws CVSException; 118 119 126 public FolderSyncInfo getFolderSyncInfo() throws CVSException; 127 128 133 public void setFolderSyncInfo(FolderSyncInfo folderInfo) throws CVSException; 134 135 139 public void acceptChildren(ICVSResourceVisitor visitor) throws CVSException; 140 141 155 public boolean isCVSFolder() throws CVSException; 156 157 180 public void run(ICVSRunnable job, IProgressMonitor monitor) throws CVSException; 181 } 182 | Popular Tags |