Class library. VisuallyEmptyCheck
source · [−]Expand description
After removal of all whitespace, this check succeeds if the contents are empty.
exportConstructors
sourceconstructor
constructor
sourcenew (id: string, producer: Producer): VisuallyEmptyCheck
new (id: string, producer: Producer): VisuallyEmptyCheck
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): VisuallyEmptyCheck
(description: string): VisuallyEmptyCheck
sourcesetFailureInfo
setFailureInfo
source(failureInfo: string): VisuallyEmptyCheck
(failureInfo: string): VisuallyEmptyCheck
sourcesetInverted
setInverted
source(inverted?: boolean): VisuallyEmptyCheck
(inverted?: boolean): VisuallyEmptyCheck
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): VisuallyEmptyCheck
(remediation: Script): VisuallyEmptyCheck
Set remediation to run on apply mode.