Table of Contents

Class SpamClassificationRunTerms

Namespace
MailFathom.Application.Spam.Runs
Assembly
MailFathom.Application.dll

What an operator asked a whole-mailbox classification run to do.

public sealed record SpamClassificationRunTerms : IEquatable<SpamClassificationRunTerms>
Inheritance
SpamClassificationRunTerms
Implements
Inherited Members

Remarks

The three answers a run needs beyond the account, and all three are fixed when it is asked for rather than read again while it walks. A run that spans hours of account runs must mean the same thing at its end as at its start, so an operator who edits configuration mid-walk changes the next run and not this one.

Every default is the cautious one: the scope the deployment already classifies, no rescoring of what has been decided under the terms in force, and a dry run.

Properties

FolderAliases

Gets the folders the run walks, in a normalized order.

Posture

Gets whether the run writes down what its verdicts ask of the mailbox, or only works it out.

Rescores

Gets whether mail already classified under the run's profile is scored again rather than skipped.

Methods

Create(IEnumerable<MailFolderAlias>, SpamActionPosture, bool)

Builds the terms an operator's answers describe.