Name

external criterion type, externalcriteriontype, kPMElementExternalCriterionType — Types of external criterion.

Synopsis

external criterion type : string, choice

Description

Types of external criterion.

external criterion type is a string. external criterion type must be one of the following three constants:

  • exit code, kPMElementExternalCriterionType_ExitCode. Return true, if exit code is EXIT_SUCCESS (0).
  • interpret, kPMElementExternalCriterionType_Interpret. Return numeric interpretation of stdout or stderr.
  • contains, kPMElementExternalCriterionType_Contains. Return true, if stdout or stderr contain a substring.