|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fcrepo.client.utility.validate.process.ValidatorProcessParameters
public class ValidatorProcessParameters
Parse and store the command-line arguments for the ValidatorProcess.
| Nested Class Summary | |
|---|---|
static class |
ValidatorProcessParameters.IteratorType
|
| Field Summary | |
|---|---|
static String |
PARAMETER_PASSWORD
Required parameter: the password for the user specified by '-username'. |
static String |
PARAMETER_PIDFILE
Optional parameter: the path to a file containing a list of PIDs - these are the objects to be validated - one PID per line, blank lines are ignored, lines beginning with octothorpe ('#'), are comments. |
static String |
PARAMETER_QUERY
Optional parameter: a "query" string that can be passed to the findObjects method in API-A. |
static String |
PARAMETER_SERVER_URL
Required parameter: the base url of the Fedora repository server. |
static String |
PARAMETER_TERMS
Optional parameter: a "terms" string that can be passed to the findObjects method in API-A. |
static String |
PARAMETER_USERNAME
Required parameter: a user who is authorized to access the repository objects. |
static String |
PARAMETER_VERBOSE
Optional parameter: whether to print all messages during validation. |
static String |
USAGE
A description of how to invoke the process. |
| Constructor Summary | |
|---|---|
ValidatorProcessParameters(String[] args)
Parse the command line arguments and check for validity. |
|
| Method Summary | |
|---|---|
ValidatorProcessParameters.IteratorType |
getIteratorType()
|
File |
getPidfile()
|
FieldSearchQuery |
getQuery()
|
ServiceInfo |
getServiceInfo()
|
boolean |
getVerbose()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String USAGE
public static final String PARAMETER_SERVER_URL
http://localhost:8080/fedora
public static final String PARAMETER_USERNAME
fedoraAdmin
public static final String PARAMETER_PASSWORD
fedoraAdminPassword
public static final String PARAMETER_TERMS
findObjects method in API-A. Supply any of -terms, -query,
or -pidfile, but not more than one. E.g. demo*
public static final String PARAMETER_QUERY
findObjects method in API-A. Supply any of -terms, -query,
or -pidfile, but not more than one. E.g. state~A
public static final String PARAMETER_PIDFILE
/usr/local/junk/pidfile.txt
public static final String PARAMETER_VERBOSE
| Constructor Detail |
|---|
public ValidatorProcessParameters(String[] args)
| Method Detail |
|---|
public ServiceInfo getServiceInfo()
public ValidatorProcessParameters.IteratorType getIteratorType()
public FieldSearchQuery getQuery()
public File getPidfile()
public boolean getVerbose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||