
org.dspace.app.util.SubmissionConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dspace-api Show documentation
Show all versions of dspace-api Show documentation
DSpace core data model and service APIs.
The 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.app.util;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.apache.logging.log4j.Logger;
/**
* Class representing a single Item Submission config definition, organized into
* steps. This class represents the structure of a single 'submission-process'
* node in the item-submission.xml configuration file.
*
* Note: Implements Serializable as it will be saved to the current session during submission.
* Please ensure that nothing is added to this class that isn't also serializable
*
* @author Tim Donohue, based on DCInputSet by Brian S. Hughes
* @version $Revision$
* @see org.dspace.app.util.SubmissionConfigReader
* @see org.dspace.app.util.SubmissionStepConfig
*/
public class SubmissionConfig implements Serializable {
/**
* name of the item submission process
*/
private String submissionName = null;
private boolean defaultConf = false;
/**
* the configuration classes for the steps in this submission process
*/
private SubmissionStepConfig[] submissionSteps = null;
/**
* log4j logger
*/
private static Logger log = org.apache.logging.log4j.LogManager.getLogger(SubmissionConfig.class);
/**
* Constructs a new Submission Configuration object, based on the XML
* configuration file (item-submission.xml)
*
* @param submissionName the submission process name
* @param steps the vector listing of step information to build
* SubmissionStepConfig objects for this submission process
*/
public SubmissionConfig(boolean isDefault, String submissionName, List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy