Package org.fcrepo.migration.pidlist
Class UserProvidedPidListManager
- java.lang.Object
-
- org.fcrepo.migration.pidlist.UserProvidedPidListManager
-
- All Implemented Interfaces:
PidListManager
public class UserProvidedPidListManager extends Object implements PidListManager
This class "accepts" and PIDs that are included in the user-provided list- Since:
- 2019-11-08
- Author:
- awoods
-
-
Constructor Summary
Constructors Constructor Description UserProvidedPidListManager(File pidListFile)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(String pid)This method returns true if the the provided PID should be processedbooleanfinishedProcessingAllPids()
-
-
-
Constructor Detail
-
UserProvidedPidListManager
public UserProvidedPidListManager(File pidListFile)
Constructor- Parameters:
pidListFile- provided by user
-
-
Method Detail
-
accept
public boolean accept(String pid)
Description copied from interface:PidListManagerThis method returns true if the the provided PID should be processed- Specified by:
acceptin interfacePidListManager- Parameters:
pid- associated with a Fedora Object to potentially be processed- Returns:
- true if Object should be processed
-
finishedProcessingAllPids
public boolean finishedProcessingAllPids()
-
-