View Health State Enabledto on. This can be done in the dialog when saving a new view or editing an existing one. This is also where the view health state function is configured. Often this will be the number of components to be deviating or critical before the View health state changes.
viewSummaryvariable that can be used to get summary information on the (states of) the components and relations in the view.
viewSummaryand needs to return value from the viewHealthStates enum.
UNKNOWN, CLEAR, DEVIATING, CRITICAL. The
viewSummarygives access to the methods
countPropagatedHealthState. These take a state and return the number of components on the view in that state. For example
countPropagatedHealthStatebe aware that both the originating component and all relations have a propagated health state. This means that the propagated health state count of a view that shows a component that is DEVIATING, that is a dependency of one other component, will be three. Two for the components and one for the relation.
minDeviatingHealthStatesare user defined parameters.
viewSummarygives access to states defined as a list of
ElementStatehas the following properties:
domain, a list of
environments, a list of
typeof the element,
propagatedHealthStatewhich allow to express queries that match particular elements on the view as: