Architecture #6370
closedWe may have more than one class parameter
Description
Class parameters identify the object we are working on, as opposed to other parameters that define the state of this object.
It is usually the first parameter but not always.
For example : permissions, we are working on a file and the state we want is the permissions we are giving it.
But some objects need more than one parameter to be described.
For example : file_ensure_block_in_section, the object is the section definition within a file, and the status is its content.
We should be able to describe this, and this have more that one class parameter.
This will help distinguish between incompatible states (2 different states on the same objects), identical states (same state on the same object) and compatible states (on 2 different objects).
This will be reflected in reporting. Incompatible states may produce conflicting reports, identical state may produce single report, and compatible state will produce 2 different reports.
Updated by Alexis Mousset almost 8 years ago
- Target version changed from 0.x to master
Updated by Alexis Mousset over 2 years ago
- Target version changed from master to ncf-1.2
Updated by Alexis Mousset over 2 years ago
- Project changed from 41 to Rudder
- Category changed from Generic methods to Generic methods