Class library. IncludesPCheck
source · [−]Constructors
sourceconstructor
constructor
sourcenew (id: any, producer: Producer, ...targetContents: string[]): IncludesPCheck
new (id: any, producer: Producer, ...targetContents: string[]): IncludesPCheck
All elements have an id associated to encourage short unique ids for all elements.
Properties
sourcestate
state
sourcestate: ElementState = ElementState.Inactive
state: ElementState = ElementState.Inactive
Current state of the element.
Methods
sourceaddAdditionalIncludes
addAdditionalIncludes
source(...includes: string[]): IncludesPCheck
(...includes: string[]): IncludesPCheck
sourcesetDescription
setDescription
source(description: string): IncludesPCheck
(description: string): IncludesPCheck
sourcesetFailureInfo
setFailureInfo
source(failureInfo: string): IncludesPCheck
(failureInfo: string): IncludesPCheck
sourcesetInverted
setInverted
source(inverted?: boolean): IncludesPCheck
(inverted?: boolean): IncludesPCheck
Invert the results. For example if the check is to check if a package is installed inverting it will make sure is not.
sourcesetRemediation
setRemediation
source(remediation: Script): IncludesPCheck
(remediation: Script): IncludesPCheck
Set remediation to run on apply mode.