| Home | Trees | Indices | Help |
|
|---|
|
|
This class represents a set of Change's that are to be implemented in the order they are appended to the ChangeSet. A ChangeSet is considered completed only when all the changes have been completed successfully.
A ChangeSet must be either accepted or rejected in it's entirety and no individual selection among the Change's is supported. This is a design requirement, since many times Changes depend on the previous ones.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
changes = Nonean ordered list of Change elements creating the ChangeSet |
|||
state = 0summarized state of the ChangeSet |
|||
|
|||
This function accepts a new state for the ChangeSet and marks this state for all the contained Changes as well. If the current state is STATE_PROPOSED, it can be changed to STATE_ACCEPTED, STATE_IGNORED or STATE_REJECTED. If the current state is STATE_ACCEPTED, it can be changed to STATE_COMPLETED or STATE_FAILED.
|
This function checks the state of the changes and updates the state of the ChangeSet if appropriate. The checking is performed only when the ChangeSet has been accepted. The state is changed to completed when all the changes have been completed and the state is changed to failed when a change is found that is not in the completed nor unhandled state. |
This function appends a Change to the ChangeSet.
|
This function inserts a Change to the ChangeSet at position `position`.
|
This function extends the ChangeSet with a list of changes.
|
This function merges the changes from another ChangeSet.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Jun 10 15:53:32 2010 | http://epydoc.sourceforge.net |