Package comodit_client :: Package api :: Module importer :: Class Action

Class Action


An import action.

Instance Methods
 
__init__(self, conflict)
Creates a new action instance.
bool
conflict(self)
Tells if the action is conflicting.
 
execute(self)
Executes this action.
string
get_summary(self)
Provides a description of this action.
 
display(self)
Displays this actions to standard output.

Inherited from object: __long__, __native__, __nonzero__, __unicode__, next

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

Properties

Inherited from object: __class__

Method Details

__init__(self, conflict)
(Constructor)

 

Creates a new action instance.

Parameters:
  • conflict (bool) - True if this actions is conflicting.
Overrides: object.__init__

conflict(self)

 

Tells if the action is conflicting.

Returns: bool
True if the action is conflicting, false otherwise.

get_summary(self)

 

Provides a description of this action.

Returns: string
A description of this action.