resolveClasses
resolveClasses(
classNames,classesFilePath,presets):string[]
Defined in: packages/simply-apex-core/src/apexTraceSilence.ts:74
Resolve the list of Apex class names to silence from an explicit list, a classes-file path (a
JSON config matching ClassesToSilenceSchema), and the fflib/at4dx/forceDi built-in
presets. All sources are combined and deduplicated.
Parameters
Section titled “Parameters”classNames
Section titled “classNames”string[]
Explicit class names (e.g. from a --classes flag already split on commas).
classesFilePath
Section titled “classesFilePath”string | undefined
Path to a JSON config file, if one was given.
presets
Section titled “presets”Which of the built-in class presets were requested.
boolean
boolean
forceDi
Section titled “forceDi”boolean
Returns
Section titled “Returns”string[]
The resolved, trimmed, deduplicated list of Apex class names.
Throws
Section titled “Throws”invalid-classes-file if classesFilePath was given but fails
schema validation.