Fork me on GitHub

Constraints Catalog >

components-per-scope

  • Namecapce: fr.liglab.adele.cube.core
  • Arity: Unary
  • Capabilities: check

Parameters

ParamTypeOptional?Default valueComment
vScopenoThe constrained Scope
typeStringnoThe type of related components
maxIntegernoThe maximum number of allowed component instances
priorityIntegeryes11 is a higher priority than 2, and so on.

Constraint Resolver

Description

Limit the maximum number of components that execute in a scope.

Example

<core:components-per-scope v="N" type="MyCalculator" max="7"/>