Fork me on GitHub

Constraints Catalog >

components-per-node

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

Parameters

ParamTypeOptional?Default valueComment
vNodenoThe constrained Node
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 node.

Example

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