public class SubmissionConfig extends Object implements Serializable
SubmissionConfigReader,
SubmissionStepConfig,
Serialized Form| Constructor and Description |
|---|
SubmissionConfig(boolean isDefault,
String submissionName,
List<Map<String,String>> steps)
Constructs a new Submission Configuration object, based on the XML
configuration file (item-submission.xml)
|
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfSteps()
Return the number of steps in this submission process
|
SubmissionStepConfig |
getStep(int stepNum)
Retrieve a particular Step configuration in this Item Submission Process
configuration.
|
String |
getSubmissionName()
Return the name of the item submission process definition
|
boolean |
hasMoreSteps(int stepNum)
Returns whether or not there are more steps which follow the specified
"stepNum".
|
boolean |
isDefaultConf() |
public SubmissionConfig(boolean isDefault,
String submissionName,
List<Map<String,String>> steps)
submissionName - the submission process namesteps - the vector listing of step information to build
SubmissionStepConfig objects for this submission processpublic String getSubmissionName()
public boolean isDefaultConf()
public int getNumberOfSteps()
public SubmissionStepConfig getStep(int stepNum)
If you want to retrieve the step after the "select collection" step, you should retrieve step #1. If the specified step isn't found, null is returned.
stepNum - desired step to retrievepublic boolean hasMoreSteps(int stepNum)
stepNum - the current step.Copyright © 2019 DuraSpace. All rights reserved.