|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.VcsPlugins.vcsSubversion.SvnStatusMonitorThread</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Plugins.VcsPlugins.vcsSubversion.SvnStatusMonitorThread</h1> |
|
23 <p> |
|
24 Module implementing the VCS status monitor thread class for Subversion. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#SvnStatusMonitorThread">SvnStatusMonitorThread</a></td> |
|
34 <td>Class implementing the VCS status monitor thread class for Subversion.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <h3>Functions</h3> |
|
38 <table> |
|
39 <tr><td>None</td></tr> |
|
40 </table> |
|
41 <hr /><hr /> |
|
42 <a NAME="SvnStatusMonitorThread" ID="SvnStatusMonitorThread"></a> |
|
43 <h2>SvnStatusMonitorThread</h2> |
|
44 <p> |
|
45 Class implementing the VCS status monitor thread class for Subversion. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 VcsStatusMonitorThread |
|
49 <h3>Class Attributes</h3> |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Class Methods</h3> |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 <table> |
|
59 <tr> |
|
60 <td><a href="#SvnStatusMonitorThread.__init__">SvnStatusMonitorThread</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#SvnStatusMonitorThread._performMonitor">_performMonitor</a></td> |
|
64 <td>Protected method implementing the monitoring action.</td> |
|
65 </tr> |
|
66 </table> |
|
67 <h3>Static Methods</h3> |
|
68 <table> |
|
69 <tr><td>None</td></tr> |
|
70 </table> |
|
71 <a NAME="SvnStatusMonitorThread.__init__" ID="SvnStatusMonitorThread.__init__"></a> |
|
72 <h4>SvnStatusMonitorThread (Constructor)</h4> |
|
73 <b>SvnStatusMonitorThread</b>(<i>interval, project, vcs, parent=None</i>) |
|
74 <p> |
|
75 Constructor |
|
76 </p><dl> |
|
77 <dt><i>interval</i></dt> |
|
78 <dd> |
|
79 new interval in seconds (integer) |
|
80 </dd><dt><i>project</i></dt> |
|
81 <dd> |
|
82 reference to the project object (Project) |
|
83 </dd><dt><i>vcs</i></dt> |
|
84 <dd> |
|
85 reference to the version control object |
|
86 </dd><dt><i>parent</i></dt> |
|
87 <dd> |
|
88 reference to the parent object (QObject) |
|
89 </dd> |
|
90 </dl><a NAME="SvnStatusMonitorThread._performMonitor" ID="SvnStatusMonitorThread._performMonitor"></a> |
|
91 <h4>SvnStatusMonitorThread._performMonitor</h4> |
|
92 <b>_performMonitor</b>(<i></i>) |
|
93 <p> |
|
94 Protected method implementing the monitoring action. |
|
95 </p><p> |
|
96 This method populates the statusList member variable |
|
97 with a list of strings giving the status in the first column and the |
|
98 path relative to the project directory starting with the third column. |
|
99 The allowed status flags are: |
|
100 <ul> |
|
101 <li>"A" path was added but not yet comitted</li> |
|
102 <li>"M" path has local changes</li> |
|
103 <li>"O" path was removed</li> |
|
104 <li>"R" path was deleted and then re-added</li> |
|
105 <li>"U" path needs an update</li> |
|
106 <li>"Z" path contains a conflict</li> |
|
107 <li>" " path is back at normal</li> |
|
108 </ul> |
|
109 </p><dl> |
|
110 <dt>Returns:</dt> |
|
111 <dd> |
|
112 tuple of flag indicating successful operation (boolean) and |
|
113 a status message in case of non successful operation (string) |
|
114 </dd> |
|
115 </dl> |
|
116 <div align="right"><a href="#top">Up</a></div> |
|
117 <hr /> |
|
118 </body></html> |