All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.dspace.curate.CurationCliScriptConfiguration Maven / Gradle / Ivy

There is a newer version: 8.0
Show newest version
/**
 * The contents of this file are subject to the license and copyright
 * detailed in the LICENSE and NOTICE files at the root of the source
 * tree and available online at
 *
 * http://www.dspace.org/license/
 */
package org.dspace.curate;

import org.apache.commons.cli.Options;

/**
 * This is the CLI version of the {@link CurationScriptConfiguration} class that handles the configuration for the
 * {@link CurationCli} script
 */
public class CurationCliScriptConfiguration extends CurationScriptConfiguration {

    @Override
    public Options getOptions() {
        options = super.getOptions();
        options.addOption("e", "eperson", true, "email address of curating eperson");
        options.getOption("e").setType(String.class);
        options.getOption("e").setRequired(true);
        return options;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy