StagedParticipantGroup

@Serializable
data class StagedParticipantGroup(val id: UUID = UUID.randomUUID())

A group of participants configured during recruitment, intended to be deployed as a whole once configuration is completed.

Constructors

Link copied to clipboard
fun StagedParticipantGroup(id: UUID = UUID.randomUUID())

Functions

Link copied to clipboard
fun addParticipants(participantIds: Set<UUID>)

Add participants with participantIds to this group. This is only allowed when the group hasn't been deployed yet.

Link copied to clipboard

Specify that a deployment for this participant group has been created.

Properties

Link copied to clipboard
val id: UUID

The identifier for this participant group, used as deployment ID once the participant group is deployed.

Link copied to clipboard
var isDeployed: Boolean = false

Determines whether this participant group has been deployed.

Link copied to clipboard
val participantIds: Set<UUID>