Edit C:\Users\Admin\.m2\repository\org\dspace\dspace-api\6.2\org\dspace\app\harvest\Harvest.class
???? 3} ?45 46 4789 :;<=>?@ABCDEFGHIJKLMN ?O ?PQRSTUVWXYZ[\]^ _`a 34b 3c def ghijklmno dpqrs _t uvw G4x yz I{ G|} ?~? G? G? G?? G??????????? [4? [? Z? p? ?? [? G? I???? G? G? ?? ?? ???? ?????? [?? [? G? ??????? {?? G? g????? I? Z? Z??? I??? ??? G??? I? ?? ?????? ???? I? I? Z?? Z? Z??? g?? ????? ???? ?? {??? ???????? ?? ??????? ?????? d?? ?? ?? ?? ??? context Lorg/dspace/core/Context; harvestedCollectionService 7Lorg/dspace/harvest/service/HarvestedCollectionService; ePersonService +Lorg/dspace/eperson/service/EPersonService; collectionService .Lorg/dspace/content/service/CollectionService; <init> ()V Code LineNumberTable LocalVariableTable this Lorg/dspace/app/harvest/Harvest; main ([Ljava/lang/String;)V myhelp &Lorg/apache/commons/cli/HelpFormatter; harvestedCollection (Lorg/dspace/harvest/HarvestedCollection; harvestedCollections Ljava/util/List; argv [Ljava/lang/String; parser *Lorg/apache/commons/cli/CommandLineParser; options Lorg/apache/commons/cli/Options; line $Lorg/apache/commons/cli/CommandLine; command Ljava/lang/String; eperson collection oaiSource oaiSetID metadataKey harvestType I harvester LocalVariableTypeTable :Ljava/util/List<Lorg/dspace/harvest/HarvestedCollection;>; StackMapTable ??6??w?? Exceptions resolveCollection 3(Ljava/lang/String;)Lorg/dspace/content/Collection; dso !Lorg/dspace/content/DSpaceObject; se Ljava/sql/SQLException; collectionID targetCollection Lorg/dspace/content/Collection; ?? configureCollection L(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V hc e Ljava/lang/Exception; type oaiSetId mdConfigId?? purgeCollection '(Ljava/lang/String;Ljava/lang/String;)V item Lorg/dspace/content/Item; Lorg/dspace/eperson/EPerson; itemService (Lorg/dspace/content/service/ItemService; it Ljava/util/Iterator; i email /Ljava/util/Iterator<Lorg/dspace/content/Item;>; runHarvest hex (Lorg/dspace/harvest/HarvestingException; )Lorg/dspace/authorize/AuthorizeException; Ljava/io/IOException; !Lorg/dspace/harvest/OAIHarvester;???? resetHarvesting ex startHarvester pingResponder 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V error server set metadataFormat errors $Ljava/util/List<Ljava/lang/String;>; <clinit> SourceFile Harvest.java ? ? "org/apache/commons/cli/PosixParser org/apache/commons/cli/Options p purge "delete all items in the collection r run "run the standard harvest procedure g ping test the OAI server and set o once 3run the harvest procedure with specified parameters s setup $Set the collection up for harvesting S start start the harvest loop R reset 'reset harvest status on all collections P !purge all harvestable collections c $harvesting collection (handle or id) t type of harvesting (0 for none) a address address of the OAI-PMH server oai_set_id 7id of the PMH set representing the harvested collection m metadata_format ithe name of the desired metadata format for harvesting, resolved to namespace and crosswalk in dspace.cfg h help?? $org/apache/commons/cli/HelpFormatter Harvest 8 PING OAI server: Harvest -g -a oai_source -i oai_set_id ?RUNONCE harvest with arbitrary options: Harvest -o -e eperson -c collection -t harvest_type -a oai_source -i oai_set_id -m metadata_format zSETUP a collection for harvesting: Harvest -s -c collection -t harvest_type -a oai_source -i oai_set_id -m metadata_format 5RUN harvest once: Harvest -r -e eperson -c collection #START harvest scheduler: Harvest -S $RESET all harvest status: Harvest -R MPURGE a collection of items and settings: Harvest -p -e eperson -c collection 8PURGE all harvestable collections: Harvest -P -e eperson config runOnce purgeAll org/dspace/app/harvest/Harvest org/dspace/core/Context ? ? ? >Error - no parameters specified (run with -h flag for details) 8Error - a target collection and eperson must be provided (run with -h flag for details)( ?&