class ConvertAnnotationCandidates extends Job

Traits

SerializesModels
Queueable

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 array $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 59
__construct(MaiaJob $job, User $user)

Create a new isntance.

Parameters

MaiaJob $job
User $user

at line 71
void handle()

Handle the job.

Return Value

void

at line 96
processChunk(Collection $candidates)

Process a chunk of annotation candidates.

Parameters

Collection $candidates