Class WorkflowActionConfig
- java.lang.Object
-
- org.dspace.xmlworkflow.state.actions.WorkflowActionConfig
-
- Direct Known Subclasses:
UserSelectionActionConfig
public class WorkflowActionConfig extends Object
Configuration class for an action- Author:
- Bram De Schouwer (bram.deschouwer at dot com), Kevin Van de Velde (kevin at atmire dot com), Ben Bosman (ben at atmire dot com), Mark Diggory (markd at atmire dot com)
-
-
Field Summary
Fields Modifier and Type Field Description protected ActionprocessingAction
-
Constructor Summary
Constructors Constructor Description WorkflowActionConfig(String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ActionAdvancedInfo>getAdvancedInfo()Returns a Map of info for the advanced options this user has on this actionList<String>getAdvancedOptions()Returns a list of advanced options this user has on this action, resulting in the next step of the workflowStringgetId()List<String>getOptions()Returns a list of options the user has on this action, resulting in the next step of the workflowActiongetProcessingAction()StepgetStep()booleanisAdvanced()Returns a boolean depending on whether this action has advanced optionsbooleanrequiresUI()voidsetProcessingAction(Action processingAction)voidsetRequiresUI(boolean requiresUI)voidsetStep(Step step)
-
-
-
Field Detail
-
processingAction
protected Action processingAction
-
-
Constructor Detail
-
WorkflowActionConfig
public WorkflowActionConfig(String id)
-
-
Method Detail
-
setProcessingAction
public void setProcessingAction(Action processingAction)
-
getProcessingAction
public Action getProcessingAction()
-
setRequiresUI
public void setRequiresUI(boolean requiresUI)
-
requiresUI
public boolean requiresUI()
-
getId
public String getId()
-
setStep
public void setStep(Step step)
-
getStep
public Step getStep()
-
getOptions
public List<String> getOptions()
Returns a list of options the user has on this action, resulting in the next step of the workflow- Returns:
- A list of options of this action, resulting in the next step of the workflow
-
getAdvancedOptions
public List<String> getAdvancedOptions()
Returns a list of advanced options this user has on this action, resulting in the next step of the workflow- Returns:
- A list of advanced options of this action, resulting in the next step of the workflow
-
isAdvanced
public boolean isAdvanced()
Returns a boolean depending on whether this action has advanced options- Returns:
- The boolean indicating whether this action has advanced options
-
getAdvancedInfo
public List<ActionAdvancedInfo> getAdvancedInfo()
Returns a Map of info for the advanced options this user has on this action- Returns:
- a Map of info for the advanced options this user has on this action
-
-