| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A default implementation of VcsProvider which defines basic functinality of the provider.
The implementation may inherit from this class to reuse this functionality.
| Method Summary | |
void | changeWorkingDirectory(File workingDirectory)Changes the value of internal current working directory field. |
void | endSession()Clears all internal fields. |
int | execAddFiles(String[] files, int[] fileTypes, String comment, boolean makeCheckedOut, boolean removeLocal)Throws CapabilityException. |
int | execCheckInFiles(String[] files, String comment, boolean keepCheckedOut, boolean removeLocal, boolean wholeProject, boolean projectRecursively)Throws CapabilityException. |
int | execCheckOutFiles(String[] files, String comment, boolean wholeProject, boolean projectRecursively)Throws CapabilityException. |
int | execGetFiles(String[] files, boolean wholeProject, boolean projectRecursively)Throws CapabilityException. |
int | execGetFilesStatuses(String[] files, int[] statuses)Throws CapabilityException. |
int | execGetMissingFiles(Vector files)Throws CapabilityException. |
int | execGetRawFileDiff(String fileName, boolean ignoreCase, boolean ignoreSpace, StringBuffer diff)Throws CapabilityException. |
int | execLockFiles(String[] files, boolean wholeProject, boolean projectRecursively)Throws CapabilityException. |
int | execRemoveFiles(String[] files, String comment, boolean removeLocal)Throws CapabilityException. |
int | execRenameFile(String fileName, String newFileName)Throws CapabilityException. |
int | execSelectProject(String defaultProject, File workingDir, boolean createNewProject, StringBuffer selectedProject)Throws CapabilityException. |
int | execSetFilesLabel(String[] files, String label, boolean wholeProject, boolean projectRecursively)Throws CapabilityException. |
int | execShowAdvancedOptions(String command, boolean project)Throws CapabilityException. |
int | execShowFileDiff(String fileName, boolean ignoreCase, boolean ignoreSpace)Throws CapabilityException. |
int | execShowFileProperties(String fileName)Throws CapabilityException. |
int | execShowFilesHistory(String[] files, boolean wholeProject, boolean projectRecursively)Throws CapabilityException. |
int | execUnCheckOutFiles(String[] files, boolean removeLocal, boolean wholeProject, boolean projectRecursively)Throws CapabilityException. |
int | execUnLockFiles(String[] files, boolean wholeProject, boolean projectRecursively)Throws CapabilityException. |
int | execUpdateFiles(String[] files, boolean wholeProject, boolean projectRecursively)Throws CapabilityException. |
void | free()Clears all internal fields. |
String | getCurrentProject()Returns root project + path from root working directory to current working directory. |
File | getCurrentWorkingDirectory()Returns value of internal current project field. |
int | getFileStatus(String filename)Returns FILE_STATUS_NONE. |
String | getID()Returns "DEFAULT" as provider ID. |
String | getRootProject()Returns value of internal root project field. |
File | getRootWorkingDirectory()Returns value of internal root working directory field. |
boolean | isSessionStarted()Returns true if both internal root project and working directories are not null. |
boolean | isValid()Always returns false. |
void | startSession(String rootProject, File rootWorkingDir)Initializes internal root project and working directory values. |
| Method Detail |
public void changeWorkingDirectory(File workingDirectory)
throws VcsProviderException
public void endSession()
throws VcsProviderException
public int execAddFiles(String[] files, int[] fileTypes, String comment, boolean makeCheckedOut, boolean removeLocal)
throws VcsProviderException
public int execCheckInFiles(String[] files, String comment, boolean keepCheckedOut, boolean removeLocal, boolean wholeProject, boolean projectRecursively)
throws VcsProviderException
public int execCheckOutFiles(String[] files, String comment, boolean wholeProject, boolean projectRecursively)
throws VcsProviderException
public int execGetFiles(String[] files, boolean wholeProject, boolean projectRecursively)
throws VcsProviderException
public int execGetFilesStatuses(String[] files, int[] statuses)
throws VcsProviderException
public int execGetMissingFiles(Vector files)
throws VcsProviderException
public int execGetRawFileDiff(String fileName, boolean ignoreCase, boolean ignoreSpace, StringBuffer diff)
throws VcsProviderException
public int execLockFiles(String[] files, boolean wholeProject, boolean projectRecursively)
throws VcsProviderException
public int execRemoveFiles(String[] files, String comment, boolean removeLocal)
throws VcsProviderException
public int execRenameFile(String fileName, String newFileName)
throws VcsProviderException
public int execSelectProject(String defaultProject, File workingDir, boolean createNewProject, StringBuffer selectedProject)
throws VcsProviderException
public int execSetFilesLabel(String[] files, String label, boolean wholeProject, boolean projectRecursively)
throws VcsProviderException
public int execShowAdvancedOptions(String command, boolean project)
throws VcsProviderException
public int execShowFileDiff(String fileName, boolean ignoreCase, boolean ignoreSpace)
throws VcsProviderException
public int execShowFileProperties(String fileName)
throws VcsProviderException
public int execShowFilesHistory(String[] files, boolean wholeProject, boolean projectRecursively)
throws VcsProviderException
public int execUnCheckOutFiles(String[] files, boolean removeLocal, boolean wholeProject, boolean projectRecursively)
throws VcsProviderException
public int execUnLockFiles(String[] files, boolean wholeProject, boolean projectRecursively)
throws VcsProviderException
public int execUpdateFiles(String[] files, boolean wholeProject, boolean projectRecursively)
throws VcsProviderException
public void free()
public String getCurrentProject()
public File getCurrentWorkingDirectory()
public int getFileStatus(String filename)
throws VcsProviderException
public String getID()
public String getRootProject()
public File getRootWorkingDirectory()
public boolean isSessionStarted()
public boolean isValid()
public void startSession(String rootProject, File rootWorkingDir)
| Association Links |
to Class java.io.File
to Class java.lang.String
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||