public static interface ReplicationClient.ReplicationHandler
Modifier and Type | Method and Description |
---|---|
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.
|
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 intoIOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.