1 11 package org.eclipse.team.internal.ccvs.core; 12 13 14 import org.eclipse.core.resources.IResource; 15 import org.eclipse.core.runtime.IProgressMonitor; 16 import org.eclipse.team.internal.ccvs.core.syncinfo.ResourceSyncInfo; 17 18 32 public interface ICVSResource { 33 34 40 public String getName(); 41 42 48 public boolean isManaged() throws CVSException; 49 50 55 public void unmanage(IProgressMonitor monitor) throws CVSException; 56 57 66 public boolean isIgnored() throws CVSException; 67 68 73 public void setIgnoredAs(String pattern) throws CVSException; 74 75 81 public boolean isFolder(); 82 83 89 public boolean exists() throws CVSException; 90 91 97 public IResource getIResource(); 98 99 106 public String getRelativePath(ICVSFolder ancestor) throws CVSException; 107 108 115 public String getRepositoryRelativePath() throws CVSException; 116 117 130 public String getRemoteLocation(ICVSFolder root) throws CVSException; 131 132 140 public ResourceSyncInfo getSyncInfo() throws CVSException; 141 142 145 public void delete() throws CVSException; 146 147 153 public ICVSFolder getParent(); 154 155 158 public void accept(ICVSResourceVisitor visitor) throws CVSException; 159 160 166 public void accept(ICVSResourceVisitor visitor, boolean recurse) throws CVSException; 167 168 172 public boolean isModified(IProgressMonitor monitor) throws CVSException; 173 } 174 | Popular Tags |