public static final class PeopleFlowMember.Builder extends Object implements Serializable, ModelBuilder, PeopleFlowMemberContract
PeopleFlowMember
instances. Enforces the constraints of the
PeopleFlowMemberContract
.Modifier and Type | Method and Description |
---|---|
PeopleFlowMember |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static PeopleFlowMember.Builder |
create(PeopleFlowMemberContract contract) |
static PeopleFlowMember.Builder |
create(String memberId,
MemberType memberType) |
static PeopleFlowMember.Builder |
createCopy(PeopleFlowMemberContract contract) |
ActionRequestPolicy |
getActionRequestPolicy()
Returns the action request policy to use for this people flow member.
|
List<PeopleFlowDelegate.Builder> |
getDelegates() |
Boolean |
getForceAction()
Force Action specifies that the requests for this member must be acted on even if the member has already taken
that action in the workflow.
|
String |
getMemberId() |
MemberType |
getMemberType() |
int |
getPriority() |
String |
getResponsibilityId()
Returns the responsibility id of this member.
|
void |
setActionRequestPolicy(ActionRequestPolicy actionRequestPolicy) |
void |
setDelegates(List<PeopleFlowDelegate.Builder> delegates) |
void |
setForceAction(Boolean forceAction) |
void |
setMemberId(String memberId) |
void |
setMemberType(MemberType memberType) |
void |
setPriority(int priority) |
void |
setResponsibilityId(String responsibilityId) |
public static PeopleFlowMember.Builder create(String memberId, MemberType memberType)
public static PeopleFlowMember.Builder create(PeopleFlowMemberContract contract)
public static PeopleFlowMember.Builder createCopy(PeopleFlowMemberContract contract)
public PeopleFlowMember build()
ModelBuilder
build
in interface ModelBuilder
public String getMemberId()
getMemberId
in interface PeopleFlowMemberContract
MemberType
of the
instance.public MemberType getMemberType()
getMemberType
in interface PeopleFlowMemberContract
MemberType
of this member. Never null.public ActionRequestPolicy getActionRequestPolicy()
PeopleFlowMemberContract
MemberType
is ROLE
. If the member type is anything else, this value will not
be considered and should ideally be set to nullgetActionRequestPolicy
in interface PeopleFlowMemberContract
public String getResponsibilityId()
PeopleFlowMemberContract
getResponsibilityId
in interface PeopleFlowMemberContract
public int getPriority()
getPriority
in interface PeopleFlowMemberContract
public List<PeopleFlowDelegate.Builder> getDelegates()
getDelegates
in interface PeopleFlowMemberContract
public Boolean getForceAction()
PeopleFlowMemberContract
getForceAction
in interface PeopleFlowMemberContract
public void setMemberId(String memberId)
public void setMemberType(MemberType memberType)
public void setActionRequestPolicy(ActionRequestPolicy actionRequestPolicy)
public void setResponsibilityId(String responsibilityId)
public void setPriority(int priority)
public void setDelegates(List<PeopleFlowDelegate.Builder> delegates)
public void setForceAction(Boolean forceAction)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.