Project

General

Profile

Actions

Architecture #6370

closed

We may have more than one class parameter

Added by Benoît PECCATTE over 9 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Generic methods
Target version:
Effort required:
Name check:
Fix check:
Regression:

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.

Actions #1

Updated by Alexis Mousset over 8 years ago

  • Category set to Generic methods
Actions #2

Updated by Alexis Mousset almost 8 years ago

  • Target version changed from 0.x to master
Actions #3

Updated by Alexis Mousset over 7 years ago

  • Status changed from New to Rejected

Duplicates #6101.

Actions #4

Updated by Alexis Mousset over 2 years ago

  • Target version changed from master to ncf-1.2
Actions #5

Updated by Alexis Mousset over 2 years ago

  • Project changed from 41 to Rudder
  • Category changed from Generic methods to Generic methods
Actions

Also available in: Atom PDF