viewSummaryvariable that can be used to get summary information on the (states of) the components and relations in the view.
viewSummaryas well as any User parameters named in the function. It needs to return value from the
viewHealthStatesenum - one of
viewSummaryis available to all view health state configuration functions and gives access to the following methods:
countPropagatedHealthStatereturn a count of all components in the view with a specified state. For example:
countPropagatedHealthStatewill return a count of all elements with a specified propagated state. As both the originating component and all relations have a propagated health state these will be included in the returned count. This means that a DEVIATING propagated health state count of a view with one deviating component will be three. Two for the components (originating and propagated) and one for the relation.
minDeviatingHealthStatesare user parameters. These are named in the view health state configuration function and set by the user when the view health state is configured.
ElementStatehas the following properties: