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 RevisioncopiedFiles - the files that were actually copiedsourceDirectory - a mapping from a source of files to the Directory they
were copied intoIOExceptionCopyright © 2000-2024 Apache Software Foundation. All Rights Reserved.