|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ReplicationClient.ReplicationHandler
Handler for revisions obtained by the client.
Method Summary | |
---|---|
Map<String,List<RevisionFile>> |
currentRevisionFiles()
Returns the current revision files held by the handler. |
String |
currentVersion()
Returns the current revision version held by the handler. |
void |
revisionReady(String version,
Map<String,List<RevisionFile>> revisionFiles,
Map<String,List<String>> copiedFiles,
Map<String,Directory> sourceDirectory)
Called when a new revision was obtained and is available (i.e. |
Method Detail |
---|
Map<String,List<RevisionFile>> currentRevisionFiles()
String currentVersion()
void revisionReady(String version, Map<String,List<RevisionFile>> revisionFiles, Map<String,List<String>> copiedFiles, Map<String,Directory> sourceDirectory) throws IOException
version
- the version of the Revision
that was copiedrevisionFiles
- the files contained by this Revision
copiedFiles
- the files that were actually copiedsourceDirectory
- a mapping from a source of files to the Directory
they
were copied into
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |