mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Provided an API to get a merged list of broken links between 2 areas,
and what the baseline & latest versions were, as well as the number of files and links checked in staging. Made LinkValidationAction use the new apis, and annotated the source code so that it's obvious what should be done to use the base & latest snapshot version info (see "Gav TODO" within LinkValidationAction.java). git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6219 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -38,13 +38,36 @@ import java.util.ArrayList;
|
||||
*/
|
||||
public class HrefManifest
|
||||
{
|
||||
protected List<HrefManifestEntry> manifest_entries_;
|
||||
List<HrefManifestEntry> manifest_entries_;
|
||||
int base_snapshot_version_;
|
||||
int latest_snapshot_version_;
|
||||
int base_file_count_;
|
||||
int base_link_count_;
|
||||
|
||||
public HrefManifest()
|
||||
{
|
||||
manifest_entries_ = new ArrayList<HrefManifestEntry>();
|
||||
}
|
||||
|
||||
public HrefManifest(List<HrefManifestEntry> entries,
|
||||
int base_snapshot_version,
|
||||
int latest_snapshot_version,
|
||||
int base_file_count,
|
||||
int base_link_count)
|
||||
{
|
||||
manifest_entries_ = entries;
|
||||
base_snapshot_version_ = base_snapshot_version;
|
||||
latest_snapshot_version_ = latest_snapshot_version;
|
||||
base_file_count_ = base_file_count;
|
||||
base_link_count_ = base_link_count;
|
||||
}
|
||||
|
||||
public int getLatestSnapshotVersion() { return latest_snapshot_version_; }
|
||||
public int getBaseSnapshotVersion() { return base_snapshot_version_; }
|
||||
|
||||
public int getBaseFileCount() { return base_file_count_;}
|
||||
public int getBaseLinkCount() { return base_link_count_;}
|
||||
|
||||
public List<HrefManifestEntry> getManifestEntries() { return manifest_entries_;}
|
||||
|
||||
synchronized void add( HrefManifestEntry entry )
|
||||
|
Reference in New Issue
Block a user