Module paludis :: Class AssociationMask
[hide private]

Class AssociationMask

 object --+        
          |        
??.instance --+    
              |    
           Mask --+
                  |
                 AssociationMask

An AssociationMask is a Mask that signifies that a PackageID is masked because of its association with another PackageID that is itself masked.

This is used by old-style virtuals. If the provider of a virtual is masked then the virtual itself is masked by association.

Can be subclassed in Python.

Instance Methods [hide private]
 
__init__(...)
Raises an exception This class cannot be instantiated from Python
PackageID
associated_package()
Fetch the associated package.
string
description()
A description of the mask.
string
key()
A single character key, which can be used by clients if they need a very compact way of representing a mask.

Inherited from Mask: __reduce__

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  __instance_size__ = 32
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

Raises an exception This class cannot be instantiated from Python

Overrides: object.__init__
(inherited documentation)

associated_package()

 

Fetch the associated package.

associated_package() -> PackageID Fetch the associated package.

Returns: PackageID

description()

 

A description of the mask.

description() -> string A description of the mask.

Returns: string
Overrides: Mask.description

key()

 

A single character key, which can be used by clients if they need a very compact way of representing a mask.

key() -> string A single character key, which can be used by clients if they need a very compact way of representing a mask.

Returns: string
Overrides: Mask.key