Class ParticipantImpl
- java.lang.Object
-
- com.flowable.engage.engine.impl.notification.ParticipantImpl
-
- All Implemented Interfaces:
Participant
public class ParticipantImpl extends Object implements Participant
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected String
id
protected Collection<String>
participantTypes
-
Constructor Summary
Constructors Constructor Description ParticipantImpl(String id, Collection<String> participantTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Returns the id of the participant (equals the user id).Collection<String>
getParticipantTypes()
Returns the participant types of the user.
-
-
-
Field Detail
-
id
protected final String id
-
participantTypes
protected final Collection<String> participantTypes
-
-
Constructor Detail
-
ParticipantImpl
public ParticipantImpl(String id, Collection<String> participantTypes)
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:Participant
Returns the id of the participant (equals the user id).- Specified by:
getId
in interfaceParticipant
- Returns:
- the id of the participant user
-
getParticipantTypes
public Collection<String> getParticipantTypes()
Description copied from interface:Participant
Returns the participant types of the user. As the user might be included in more than one type, this method returns a collection of types (e.g. if the user is both owner and assignee, it would return two values in the collection).- Specified by:
getParticipantTypes
in interfaceParticipant
- Returns:
- the collection of types for this participant
-
-