Package-level declarations

Types

Link copied to clipboard

Application service which allows setting recruitment goals, adding participants to studies, and creating deployments for them.

Link copied to clipboard
class RecruitmentServiceHost(participantRepository: ParticipantRepository, deploymentService: DeploymentService, eventBus: ApplicationServiceEventBus<RecruitmentService, RecruitmentService.Event>, uuidFactory: UUIDFactory = DefaultUUIDFactory, clock: Clock = Clock.System) : RecruitmentService
Link copied to clipboard
@Serializable
data class StudyDetails(val studyId: UUID, val ownerId: UUID, val name: String, val createdOn: Instant, val description: String?, val invitation: StudyInvitation, val protocolSnapshot: StudyProtocolSnapshot?)

Contains detailed information about a study, such as the configured study protocol.

Link copied to clipboard
interface StudyService : ApplicationService<StudyService, StudyService.Event>

Application service which allows creating and managing studies.

Link copied to clipboard
class StudyServiceHost(repository: StudyRepository, eventBus: ApplicationServiceEventBus<StudyService, StudyService.Event>, uuidFactory: UUIDFactory = DefaultUUIDFactory, clock: Clock = Clock.System) : StudyService

Implementation of StudyService which allows creating and managing studies.

Link copied to clipboard
@Serializable
sealed class StudyStatus

Describes the status of a study: the number of participants, progress towards study goal, etc.