public class HumanStepDefinition extends AbstractNamedStepDefinition implements FormStepDefinition
Modifier and Type | Field and Description |
---|---|
protected HumanStepAssignment |
assignment |
protected FormDefinition |
form |
description, id, name, parameters, startsWithPrevious
Constructor and Description |
---|
HumanStepDefinition() |
Modifier and Type | Method and Description |
---|---|
HumanStepDefinition |
addForm(FormDefinition form) |
StepDefinition |
clone()
Create a clone of this
StepDefinition instance. |
protected HumanStepAssignment |
ensureAssignment() |
String |
getAssignee() |
HumanStepAssignment |
getAssignment() |
HumanStepAssignment.HumanStepAssignmentType |
getAssignmentType() |
List<String> |
getCandidateGroups() |
List<String> |
getCandidateUsers() |
FormDefinition |
getForm() |
HumanStepDefinition |
setAssignee(String assignee) |
void |
setAssignment(HumanStepAssignment assignment) |
HumanStepDefinition |
setCandidateGroups(List<String> candidateGroups) |
HumanStepDefinition |
setCandidateUsers(List<String> candidateUsers) |
void |
setForm(FormDefinition form) |
void |
setValues(StepDefinition otherDefinition)
Sets the properties of this
StepDefinition instance based in the
properties present in the given definition. |
getDescription, getId, getName, getParameters, isStartsWithPrevious, setDescription, setId, setName, setParameters, setStartsWithPrevious
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId, getParameters, setId, setParameters
protected FormDefinition form
protected HumanStepAssignment assignment
public HumanStepAssignment.HumanStepAssignmentType getAssignmentType()
public String getAssignee()
public HumanStepDefinition setAssignee(String assignee)
public HumanStepDefinition setCandidateUsers(List<String> candidateUsers)
public HumanStepDefinition setCandidateGroups(List<String> candidateGroups)
public FormDefinition getForm()
getForm
in interface FormStepDefinition
public HumanStepDefinition addForm(FormDefinition form)
public void setForm(FormDefinition form)
setForm
in interface FormStepDefinition
public HumanStepAssignment getAssignment()
public void setAssignment(HumanStepAssignment assignment)
protected HumanStepAssignment ensureAssignment()
public StepDefinition clone()
StepDefinition
StepDefinition
instance.clone
in interface StepDefinition
clone
in class AbstractNamedStepDefinition
public void setValues(StepDefinition otherDefinition)
StepDefinition
StepDefinition
instance based in the
properties present in the given definition.setValues
in interface StepDefinition
setValues
in class AbstractNamedStepDefinition
Copyright © 2016 Alfresco. All rights reserved.