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