A Constraint decorator that applies a Constraint to a specific package only. More...
Inheritance diagram for PackageConstraint:Public Member Functions | |
| def | __init__ |
| def | is_of_type |
| def | satisfied_by |
| def | applies_to |
Public Member Functions inherited from Constraint | |
| def | is_of_type |
| Returns whether the Constraint is considered to be of a certain constraint type. More... | |
| def | satisfied_by |
| Returns whether the Constraint is satisfied by some item under coverage. More... | |
| def | applies_to |
| Returns whether the Constraint should be applied to an item under coverage. More... | |
Public Attributes | |
| constraint | |
| packageName | |
A Constraint decorator that applies a Constraint to a specific package only.
| def __init__ | ( | self, | |
| constraint, | |||
| packageName | |||
| ) |
| def applies_to | ( | self, | |
| item | |||
| ) |
| def is_of_type | ( | self, | |
| constraintType | |||
| ) |
| def satisfied_by | ( | self, | |
| item | |||
| ) |
| constraint |
| packageName |