org.netbeans.modules.versioning/1 1.32.0 1

org.netbeans.modules.versioning.spi
Interface VCSHistoryProvider.RevisionProvider

Enclosing interface:
VCSHistoryProvider

public static interface VCSHistoryProvider.RevisionProvider

Implement and pass over to VCSHistoryProvider.HistoryEntry in case VCSHistoryProvider.HistoryEntry.getRevisionFile(java.io.File, java.io.File) is expected to work.

Since:
1.29
See Also:
VCSHistoryProvider.HistoryEntry.getRevisionFile(java.io.File, java.io.File)

Method Summary
 void getRevisionFile(File originalFile, File revisionFile)
          Get the copy of a file as it was in a revision given by a VCSHistoryProvider.HistoryEntry.
 

Method Detail

getRevisionFile

void getRevisionFile(File originalFile,
                     File revisionFile)
Get the copy of a file as it was in a revision given by a VCSHistoryProvider.HistoryEntry. In case the versioning system cannot provide the file in the requested revision then this method should do nothing.
Note that for versioning systems that support keyword expansion, the original file must expand all keywords.

Parameters:
originalFile - placeholder File for the original (unmodified) copy of the working file
revisionFile - a File in the working copy
Since:
1.29

org.netbeans.modules.versioning/1 1.32.0 1

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.