mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Point checkin.
Augmented AVMRemote to expose lookup that can fetch deleted nodes. Minor fixup to excluder regex in avm-services-context.xml. Added excluder to LinkValidationServiceImpl. Prep to walk difference using SyncService (getting ready for incremental update of link validation tables). git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5898 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
*
|
||||
*
|
||||
* Author Jon Cox <jcox@alfresco.com>
|
||||
* File UpdateHrefInfoStatus.java
|
||||
* File HrefValidationProgress.java
|
||||
*----------------------------------------------------------------------------*/
|
||||
|
||||
package org.alfresco.linkvalidation;
|
||||
@@ -43,10 +43,10 @@ import java.util.concurrent.atomic.AtomicBoolean;
|
||||
* call to updateHrefInfo() has completed by examining
|
||||
* the value returned by isDone().
|
||||
* <p>
|
||||
* Note: It is safest to instantiate a fresh UpdateHrefInfoStatus
|
||||
* Note: It is safest to instantiate a fresh HrefValidationProgress
|
||||
* object for every invocation of updateHrefInfo().
|
||||
*/
|
||||
public class UpdateHrefInfoStatus
|
||||
public class HrefValidationProgress
|
||||
{
|
||||
AtomicInteger webapp_update_count_;
|
||||
AtomicInteger dir_update_count_;
|
||||
@@ -54,7 +54,7 @@ public class UpdateHrefInfoStatus
|
||||
AtomicInteger url_update_count_;
|
||||
AtomicBoolean is_done_;
|
||||
|
||||
public UpdateHrefInfoStatus()
|
||||
public HrefValidationProgress()
|
||||
{
|
||||
webapp_update_count_ = new AtomicInteger();
|
||||
dir_update_count_ = new AtomicInteger();
|
@@ -66,12 +66,12 @@ public interface LinkValidationService
|
||||
* 'status' may be polled in a separate thread to
|
||||
* observe its progress.
|
||||
*/
|
||||
public void updateHrefInfo( String storeNameOrWebappPath,
|
||||
boolean incremental,
|
||||
int connectTimeout,
|
||||
int readTimeout,
|
||||
int nthreads,
|
||||
UpdateHrefInfoStatus status
|
||||
public void updateHrefInfo( String storeNameOrWebappPath,
|
||||
boolean incremental,
|
||||
int connectTimeout,
|
||||
int readTimeout,
|
||||
int nthreads,
|
||||
HrefValidationProgress progress
|
||||
)
|
||||
throws AVMNotFoundException;
|
||||
|
||||
@@ -208,9 +208,11 @@ public interface LinkValidationService
|
||||
* Don't use yet - does nothing at the moment.
|
||||
*/
|
||||
public BrokenHrefConcordanceDifference getBrokenHrefConcordanceDifference(
|
||||
int srcVersion, String srcPath,
|
||||
int dstVersion, String dstPath,
|
||||
NameMatcher excluder)
|
||||
int srcVersion,
|
||||
String srcPath,
|
||||
int dstVersion,
|
||||
String dstPath,
|
||||
HrefValidationProgress progress)
|
||||
throws AVMNotFoundException;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user