Package org.dspace.ctask.general
Class MetadataValueLinkChecker
java.lang.Object
org.dspace.curate.AbstractCurationTask
org.dspace.ctask.general.BasicLinkChecker
org.dspace.ctask.general.MetadataValueLinkChecker
- All Implemented Interfaces:
CurationTask
A link checker that builds upon the BasicLinkChecker to check URLs that
appear in all metadata fields where the field starts with http:// or https://
Of course this assumes that there is no extra metadata following the URL.
- Author:
- Stuart Lewis
-
Field Summary
Fields inherited from class org.dspace.ctask.general.BasicLinkChecker
configurationServiceFields inherited from class org.dspace.curate.AbstractCurationTask
communityService, curator, handleService, itemService, taskId -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.dspace.ctask.general.BasicLinkChecker
checkURL, getItemHandle, getResponseStatus, performMethods inherited from class org.dspace.curate.AbstractCurationTask
dereference, distribute, init, perform, performItem, performObject, report, setResult, taskArrayProperty, taskBooleanProperty, taskIntProperty, taskLongProperty, taskProperty
-
Constructor Details
-
MetadataValueLinkChecker
public MetadataValueLinkChecker()
-
-
Method Details
-
getURLs
Description copied from class:BasicLinkCheckerGet the URLs to check- Overrides:
getURLsin classBasicLinkChecker- Parameters:
item- The item to extract URLs from- Returns:
- An array of URL Strings
-