Class library. RegKeyCheck
source · [−]Expand description
Check a Windows registry key for a value.
Constructors
sourceconstructor
constructor
sourcenew (id: string, key: string, value: string | number, type?: string): RegKeyCheck
new (id: string, key: string, value: string | number, type?: string): RegKeyCheck
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
sourcesetDescription
setDescription
source(description: string): RegKeyCheck
(description: string): RegKeyCheck
sourcesetFailureInfo
setFailureInfo
source(failureInfo: string): RegKeyCheck
(failureInfo: string): RegKeyCheck
sourcesetInverseMode
setInverseMode
source(inverseMode: boolean): RegKeyCheck
(inverseMode: boolean): RegKeyCheck
sourcesetInverted
setInverted
source(inverted?: boolean): RegKeyCheck
(inverted?: boolean): RegKeyCheck
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): RegKeyCheck
(remediation: Script): RegKeyCheck
Set remediation to run on apply mode.