Copied!

Criterion

Interfaces, classes, traits, and enumsΒΆ

  • AbstractCompositeCriterion
  • ContentNameCriterion

    Matches translations whose content name contains the given phrase, case-insensitively. The name is the one a review item displays, that is the source-language name of the published version with a fallback to the main-language name; deleted content has no name and never matches.

  • ContentTypeCriterion

    Matches translations of content of the given content types, identified by content type identifier. Covers bulk and individual translations alike; translations of deleted content never match.

  • CriterionInterface

    Sealed: only the criteria shipped in this namespace are supported. The review queue rejects any other implementation with a LogicException.

  • JobCreatorCriterion

    Matches translations belonging to bulk jobs created by any of the given users, so individual translations are excluded.

  • JobIdCriterion

    Matches translations belonging to any of the given bulk translation jobs, so individual translations are excluded.

  • JobItemStatusCriterion

    Matches translations linked to bulk job items with any of the given execution statuses. Job item status is only known for bulk translations, so individual ones are excluded.

  • LogicalAnd
  • LogicalOr
  • NeverReviewedCriterion

    Matches translations still waiting for acceptance that no reviewer has ever touched, meaning no approve or reject operation exists in their review history.

  • NoReviewActivitySinceCriterion

    Matches translations still waiting for acceptance with no review activity after the given moment. The translation's own creation counts as the first activity, so an item created after the moment never matches. Later activity means review log operations only, including a rejection, which restarts the waiting; content edits and new versions do not count.

  • NotApprovedLongerThanCriterion

    Matches translations that entered the queue at or before the given moment and are still waiting for acceptance. Rejections along the way do not matter: a rejected translation stays in the queue, so it keeps waiting since its creation.

  • ProviderCriterion

    Matches translations produced by any of the given providers.

  • ReviewStatusCriterion

    Matches translations holding any of the given review statuses.

  • SubtreeCriterion

    Matches translations of content with a location in any of the given subtrees, identified by location path string. Location visibility is not taken into account.

  • TargetLanguageCriterion

    Matches translations into any of the given target languages, identified by language code.