org.dspace.workflow.TaskSet 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 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.workflow;
import java.util.List;
import javax.validation.constraints.NotNull;
/**
* A collection of {@link org.dspace.curate.CurationTask curation tasks} to be
* attached to a workflow.
*/
public class TaskSet {
/** Name of this TaskSet. */
public final String name;
/** The {@link FlowStep}s assigned to this TaskSet. */
public final List steps;
/**
* Create a name for a collection of {@link FlowStep}s.
*
* @param name name of this task set.
* @param steps workflow steps in this task set.
*/
public TaskSet(@NotNull String name, @NotNull List steps) {
this.name = name;
this.steps = steps;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy