* Note: Files and urls within this list of manifests pertain to * the latest validated snapshot of staging (which may be * somewhat older than the very latest snapshot). The * validation service attempts to keep the latest validated * snapshot as new as possible, automatically. */ //------------------------------------------------------------------------- public HrefManifest getBrokenHrefManifest( String webappPath) throws AVMNotFoundException, SocketException, IllegalArgumentException; //------------------------------------------------------------------------- /** * This function is applied to webapps in staging and returns a manifest * consisting of just the broken hrefs within each file containing * one or more broken href. The HrefManifestEntry list is sorted in * increasing lexicographic order by file name. The hrefs within each * HrefManifestEntry are also sorted in increasing lexicographic order. */ //------------------------------------------------------------------------- public HrefManifest getHrefManifest( String webappPath, int statusGTE, int statusLTE) throws AVMNotFoundException, SocketException, IllegalArgumentException; //------------------------------------------------------------------------- /** * Fetch the difference between two areas. * Version -1 is assumed for src; dst relies on the state of the * link validation service updating link validity tables. * Typically, this will be for some version close to the latest * snapshot, but it's async, so it might be older. */ //------------------------------------------------------------------------- public HrefDifference getHrefDifference( String srcWebappPath, String dstWebappPath, HrefValidationProgress progress) throws AVMNotFoundException, SocketException, SSLException, LinkValidationAbortedException; //------------------------------------------------------------------------- /** * This function is applied to difference objects created by comparing * webapps in an author or workflow store to the staging area they * overlay. */ //------------------------------------------------------------------------- public HrefManifest getBrokenHrefManifest( HrefDifference hdiff ) throws AVMNotFoundException, SocketException; //------------------------------------------------------------------------- /** * Fetches a manifest of all hyperlinks broken in new or modified files in * an HrefDifference. The entries in this manifest are in the 'src' * namespace of the HrefDifference operation * (i.e.: files & urls from alice, not staging). * * @param hdiff The difference between two webapps obtained * by calling getHrefDifference(). */ //------------------------------------------------------------------------- public HrefManifest getHrefManifestBrokenByNewOrMod(HrefDifference hdiff); //------------------------------------------------------------------------- /** * WARNING: this function won't be part of the public interface for long. * Updates href status and href file dependencies for path. * * @param path *
mysite:/www/avm_webapps/ROOT/assets/footer.html
are:
* * http://mysite.www--sandbox.version--v-1.127-0-0-1.ip.alfrescodemo.net:8180/ * http://mysite.www--sandbox.version--v-1.127-0-0-1.ip.alfrescodemo.net:8180/assets/footer.html * http://mysite.www--sandbox.version--v-1.127-0-0-1.ip.alfrescodemo.net:8180/index.jsp * http://mysite.www--sandbox.version--v-1.127-0-0-1.ip.alfrescodemo.net:8180/media/releases/index.jsp ** Note that this list may contain links that are functionally equivalent * (e.g.: the first and third links), and may also contain links that * don't actually appear an any web page, but are implicitly present * in the site because any asset can be "dead reckoned". * */ //------------------------------------------------------------------------- public List