Package pyanaconda :: Module dispatch :: Class Step
[hide private]
[frames] | no frames]

Class Step

source code

object --+
         |
        Step

Instance Methods [hide private]
 
__init__(self, name, target=None)
Dispatcher step object.
source code
 
_reschedule(self, to_sched, current_step) source code
 
changes(self) source code
 
clear_changes(self) source code
 
direct(self) source code
 
done(self, current_step) source code
 
request(self, current_step) source code
 
unschedule(self, current_step) source code
 
namesched(self, sched) source code
 
record_history(self, step, s_from, s_to)
Stores information about scheduling changes into self.
source code
 
revert_sched(self, s_from, s_to) source code
 
sched(self) source code
 
schedule(self, current_step) source code
 
skip(self, current_step) source code

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

Class Variables [hide private]
  SCHED_UNSCHEDULED = 0
  SCHED_SCHEDULED = 1
  SCHED_SKIPPED = 2
  SCHED_REQUESTED = 3
  SCHED_DONE = 4
  sched_state_machine = [[True, True, True, True, True], [True, ...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, target=None)
(Constructor)

source code 

Dispatcher step object.

Target is a callable that performs the step (direct step). It accepts a sole argument: the anaconda object. If target is None, user interface object is told to handle the step (i.e. indirect step).

Overrides: object.__init__

changes(self)

source code 
Decorators:
  • @property

direct(self)

source code 
Decorators:
  • @property

record_history(self, step, s_from, s_to)

source code 

Stores information about scheduling changes into self.

step is a step where scheduling changed from s_from to s_to. the self object in this method should be the currently executing object.

sched(self)

source code 
Decorators:
  • @property

Class Variable Details [hide private]

sched_state_machine

Value:
[[True, True, True, True, True], [True, True, True, True, True], [Fals\
e, False, True, False, False], [False, False, False, True, True], [Fal\
se, False, False, False, True]]