Package timedrive :: Package backupsettings :: Module excludeitem :: Class ExcludeItem
[frames] | no frames]

Class ExcludeItem


ExcludeItem class: definition of an exclude item

Instance Methods
 
__init__(self, item=None, excludeType=0)
Initialization function for ExcludeItem

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

Class Variables
  REGEXP = 1
  FOLDER = 2
  FILE = 3
Properties
String Item
exclude item
int Type
exclude type

Inherited from object: __class__

Method Details

__init__(self, item=None, excludeType=0)
(Constructor)

 

Initialization function for ExcludeItem

Parameters:
  • item (String) - default=None
  • excludeType (Int (constant)) - default=0, uses exclude types defined
Overrides: object.__init__

Property Details

Item

exclude item

Get Method:
_get_item(self) - exclude item
Set Method:
_set_item(self, value) - exclude item
Type:
String

Type

exclude type

Get Method:
_get_type(self) - exclude type
Set Method:
_set_type(self, value) - exclude type
Type:
int