class ConvertAnnotationCandidates extends Job

Traits

SerializesModels
Queueable
Dispatchable

Properties

MaiaJob $job

The job to convert candidates of.

User $user

The user who initiated the job.

protected bool $deleteWhenMissingModels

Ignore this job if the MAIA job does not exist any more.

int $tries

Number of times to retry this job.

protected Collection $newAnnotations

Newly created annotations.

Methods

__construct(MaiaJob $job, User $user)

Create a new isntance.

void
handle()

Handle the job.

processChunk(Collection $candidates)

Process a chunk of annotation candidates.

Details

at line 61
__construct(MaiaJob $job, User $user)

Create a new isntance.

Parameters

MaiaJob $job
User $user

at line 74
void handle()

Handle the job.

Return Value

void

at line 104
processChunk(Collection $candidates)

Process a chunk of annotation candidates.

Parameters

Collection $candidates