The IVersionManager Interface
- IVersionManager includes following functions
- isDirty(IPath filePath): return true if file has been changed and need to be regenerate with new file name, otherwise, return false.
- Input: the path of condition.transaction file
- Output: boolean, return true if file has been changed and need to generate new file
- getOutputPath (IProject project) : return new file output path (exclude file name), this method will be called if method isDirty return true.
- Input: current working project, the output path must base on this project.
- getNewFileName(IPath filePath): return new file’s name (exclude file path), this method will be called if method isDirty return true.
- Input: the new file’s store path (this may be same as return value of the getOutputPath method.
- getLatestFileName(IPath filePath): return original file name (latest generated), this file will be removed from BTT tools
- Input: original file’s store path (this may be same as return value of the getOutputPath method.
- Return: the file that