Documentation/Source/eric5.VCS.StatusMonitorThread.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 110
c9a969db1469
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
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.VCS.StatusMonitorThread</h1> 23 <h1>eric5.VCS.StatusMonitorThread</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#86;&#67;&#83; &#115;&#116;&#97;&#116;&#117;&#115; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#116;&#104;&#114;&#101;&#97;&#100; &#98;&#97;&#115;&#101; &#99;&#108;&#97;&#115;&#115;. 25 Module implementing the VCS status monitor thread base class.
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="#VcsStatusMonitorThread">VcsStatusMonitorThread</a></td> 34 <td><a href="#VcsStatusMonitorThread">VcsStatusMonitorThread</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#86;&#67;&#83; &#115;&#116;&#97;&#116;&#117;&#115; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#116;&#104;&#114;&#101;&#97;&#100; &#98;&#97;&#115;&#101; &#99;&#108;&#97;&#115;&#115;.</td> 35 <td>Class implementing the VCS status monitor thread base class.</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="VcsStatusMonitorThread" ID="VcsStatusMonitorThread"></a> 43 <a NAME="VcsStatusMonitorThread" ID="VcsStatusMonitorThread"></a>
44 <h2>VcsStatusMonitorThread</h2> 44 <h2>VcsStatusMonitorThread</h2>
45 <p> 45 <p>
46 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#86;&#67;&#83; &#115;&#116;&#97;&#116;&#117;&#115; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#116;&#104;&#114;&#101;&#97;&#100; &#98;&#97;&#115;&#101; &#99;&#108;&#97;&#115;&#115;. 46 Class implementing the VCS status monitor thread base class.
47 </p><h4>Signals</h4> 47 </p><h4>Signals</h4>
48 <dl> 48 <dl>
49 <dt>vcsStatusMonitorData(QStringList)</dt> 49 <dt>vcsStatusMonitorData(QStringList)</dt>
50 <dd> 50 <dd>
51 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#116;&#104;&#101; &#86;&#67;&#83; &#115;&#116;&#97;&#116;&#117;&#115; 51 emitted to update the VCS status
52 </dd><dt>vcsStatusMonitorStatus(QString, QString)</dt> 52 </dd><dt>vcsStatusMonitorStatus(QString, QString)</dt>
53 <dd> 53 <dd>
54 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#116;&#111; &#115;&#105;&#103;&#110;&#97;&#108; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#117;&#115; &#111;&#102; &#116;&#104;&#101; 54 emitted to signal the status of the
55 &#109;&#111;&#110;&#105;&#116;&#111;&#114;&#105;&#110;&#103; &#116;&#104;&#114;&#101;&#97;&#100; (&#111;&#107;, &#110;&#111;&#107;, &#111;&#112;) &#97;&#110;&#100; &#97; &#115;&#116;&#97;&#116;&#117;&#115; &#109;&#101;&#115;&#115;&#97;&#103;&#101; 55 monitoring thread (ok, nok, op) and a status message
56 </dd> 56 </dd>
57 </dl> 57 </dl>
58 <h3>Derived from</h3> 58 <h3>Derived from</h3>
59 QThread 59 QThread
60 <h3>Class Attributes</h3> 60 <h3>Class Attributes</h3>
63 </table> 63 </table>
64 <h3>Methods</h3> 64 <h3>Methods</h3>
65 <table> 65 <table>
66 <tr> 66 <tr>
67 <td><a href="#VcsStatusMonitorThread.__init__">VcsStatusMonitorThread</a></td> 67 <td><a href="#VcsStatusMonitorThread.__init__">VcsStatusMonitorThread</a></td>
68 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 68 <td>Constructor</td>
69 </tr><tr> 69 </tr><tr>
70 <td><a href="#VcsStatusMonitorThread._performMonitor">_performMonitor</a></td> 70 <td><a href="#VcsStatusMonitorThread._performMonitor">_performMonitor</a></td>
71 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#114;&#101;&#97;&#108; &#109;&#111;&#110;&#105;&#116;&#111;&#114;&#105;&#110;&#103; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 71 <td>Protected method implementing the real monitoring action.</td>
72 </tr><tr> 72 </tr><tr>
73 <td><a href="#VcsStatusMonitorThread.checkStatus">checkStatus</a></td> 73 <td><a href="#VcsStatusMonitorThread.checkStatus">checkStatus</a></td>
74 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; w&#97;&#107;&#101; &#117;&#112; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#117;&#115; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#116;&#104;&#114;&#101;&#97;&#100;.</td> 74 <td>Public method to wake up the status monitor thread.</td>
75 </tr><tr> 75 </tr><tr>
76 <td><a href="#VcsStatusMonitorThread.clearCachedState">clearCachedState</a></td> 76 <td><a href="#VcsStatusMonitorThread.clearCachedState">clearCachedState</a></td>
77 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#108;&#101;&#97;&#114; &#116;&#104;&#101; &#99;&#97;&#99;&#104;&#101;&#100; &#86;&#67;&#83; &#115;&#116;&#97;&#116;&#101; &#111;&#102; &#97; &#102;&#105;&#108;&#101;/&#100;&#105;&#114;&#101;&#99;&#116;&#111;&#114;y.</td> 77 <td>Public method to clear the cached VCS state of a file/directory.</td>
78 </tr><tr> 78 </tr><tr>
79 <td><a href="#VcsStatusMonitorThread.getAutoUpdate">getAutoUpdate</a></td> 79 <td><a href="#VcsStatusMonitorThread.getAutoUpdate">getAutoUpdate</a></td>
80 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#117;&#115; &#111;&#102; &#116;&#104;&#101; &#97;&#117;&#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110;.</td> 80 <td>Public method to retrieve the status of the auto update function.</td>
81 </tr><tr> 81 </tr><tr>
82 <td><a href="#VcsStatusMonitorThread.getInterval">getInterval</a></td> 82 <td><a href="#VcsStatusMonitorThread.getInterval">getInterval</a></td>
83 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#105;&#110;&#116;&#101;&#114;v&#97;&#108;.</td> 83 <td>Public method to get the monitor interval.</td>
84 </tr><tr> 84 </tr><tr>
85 <td><a href="#VcsStatusMonitorThread.run">run</a></td> 85 <td><a href="#VcsStatusMonitorThread.run">run</a></td>
86 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#116;&#97;&#115;&#107;&#115; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 86 <td>Protected method implementing the tasks action.</td>
87 </tr><tr> 87 </tr><tr>
88 <td><a href="#VcsStatusMonitorThread.setAutoUpdate">setAutoUpdate</a></td> 88 <td><a href="#VcsStatusMonitorThread.setAutoUpdate">setAutoUpdate</a></td>
89 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#101;&#110;&#97;&#98;&#108;&#101; &#116;&#104;&#101; &#97;&#117;&#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110;.</td> 89 <td>Public method to enable the auto update function.</td>
90 </tr><tr> 90 </tr><tr>
91 <td><a href="#VcsStatusMonitorThread.setInterval">setInterval</a></td> 91 <td><a href="#VcsStatusMonitorThread.setInterval">setInterval</a></td>
92 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#97;&#110;&#103;&#101; &#116;&#104;&#101; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#105;&#110;&#116;&#101;&#114;v&#97;&#108;.</td> 92 <td>Public method to change the monitor interval.</td>
93 </tr><tr> 93 </tr><tr>
94 <td><a href="#VcsStatusMonitorThread.stop">stop</a></td> 94 <td><a href="#VcsStatusMonitorThread.stop">stop</a></td>
95 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#116;&#111;&#112; &#116;&#104;&#101; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#116;&#104;&#114;&#101;&#97;&#100;.</td> 95 <td>Public method to stop the monitor thread.</td>
96 </tr> 96 </tr>
97 </table> 97 </table>
98 <a NAME="VcsStatusMonitorThread.__init__" ID="VcsStatusMonitorThread.__init__"></a> 98 <a NAME="VcsStatusMonitorThread.__init__" ID="VcsStatusMonitorThread.__init__"></a>
99 <h4>VcsStatusMonitorThread (Constructor)</h4> 99 <h4>VcsStatusMonitorThread (Constructor)</h4>
100 <b>VcsStatusMonitorThread</b>(<i>interval, projectDir, vcs, parent = None</i>) 100 <b>VcsStatusMonitorThread</b>(<i>interval, projectDir, vcs, parent = None</i>)
101 <p> 101 <p>
102 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 102 Constructor
103 </p><dl> 103 </p><dl>
104 <dt><i>interval</i></dt> 104 <dt><i>interval</i></dt>
105 <dd> 105 <dd>
106 &#110;&#101;w &#105;&#110;&#116;&#101;&#114;v&#97;&#108; &#105;&#110; &#115;&#101;&#99;&#111;&#110;&#100;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 106 new interval in seconds (integer)
107 </dd><dt><i>projectDir</i></dt> 107 </dd><dt><i>projectDir</i></dt>
108 <dd> 108 <dd>
109 &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#100;&#105;&#114;&#101;&#99;&#116;&#111;&#114;y &#116;&#111; &#109;&#111;&#110;&#105;&#116;&#111;&#114; (&#115;&#116;&#114;&#105;&#110;&#103;) 109 project directory to monitor (string)
110 </dd><dt><i>vcs</i></dt> 110 </dd><dt><i>vcs</i></dt>
111 <dd> 111 <dd>
112 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; v&#101;&#114;&#115;&#105;&#111;&#110; &#99;&#111;&#110;&#116;&#114;&#111;&#108; &#111;&#98;&#106;&#101;&#99;&#116; 112 reference to the version control object
113 </dd><dt><i>parent</i></dt> 113 </dd><dt><i>parent</i></dt>
114 <dd> 114 <dd>
115 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#79;&#98;&#106;&#101;&#99;&#116;) 115 reference to the parent object (QObject)
116 </dd> 116 </dd>
117 </dl><a NAME="VcsStatusMonitorThread._performMonitor" ID="VcsStatusMonitorThread._performMonitor"></a> 117 </dl><a NAME="VcsStatusMonitorThread._performMonitor" ID="VcsStatusMonitorThread._performMonitor"></a>
118 <h4>VcsStatusMonitorThread._performMonitor</h4> 118 <h4>VcsStatusMonitorThread._performMonitor</h4>
119 <b>_performMonitor</b>(<i></i>) 119 <b>_performMonitor</b>(<i></i>)
120 <p> 120 <p>
121 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#114;&#101;&#97;&#108; &#109;&#111;&#110;&#105;&#116;&#111;&#114;&#105;&#110;&#103; &#97;&#99;&#116;&#105;&#111;&#110;. 121 Protected method implementing the real monitoring action.
122 </p><p> 122 </p><p>
123 &#84;&#104;&#105;&#115; &#109;&#101;&#116;&#104;&#111;&#100; &#109;&#117;&#115;&#116; &#98;&#101; &#111;v&#101;&#114;&#114;&#105;&#100;&#100;&#101;&#110; &#97;&#110;&#100; &#112;&#111;&#112;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#117;&#115;&#76;&#105;&#115;&#116; &#109;&#101;&#109;&#98;&#101;&#114; v&#97;&#114;&#105;&#97;&#98;&#108;&#101; 123 This method must be overridden and populate the statusList member variable
124 w&#105;&#116;&#104; &#97; &#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115; &#103;&#105;v&#105;&#110;&#103; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#117;&#115; &#105;&#110; &#116;&#104;&#101; &#102;&#105;&#114;&#115;&#116; &#99;&#111;&#108;&#117;&#109;&#110; &#97;&#110;&#100; &#116;&#104;&#101; 124 with a list of strings giving the status in the first column and the
125 &#112;&#97;&#116;&#104; &#114;&#101;&#108;&#97;&#116;&#105;v&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#100;&#105;&#114;&#101;&#99;&#116;&#111;&#114;y &#115;&#116;&#97;&#114;&#116;&#105;&#110;&#103; w&#105;&#116;&#104; &#116;&#104;&#101; &#116;&#104;&#105;&#114;&#100; &#99;&#111;&#108;&#117;&#109;&#110;. 125 path relative to the project directory starting with the third column.
126 &#84;&#104;&#101; &#97;&#108;&#108;&#111;w&#101;&#100; &#115;&#116;&#97;&#116;&#117;&#115; &#102;&#108;&#97;&#103;&#115; &#97;&#114;&#101;&#58; 126 The allowed status flags are:
127 &#60;&#117;&#108;&#62; 127 <ul>
128 &#60;&#108;&#105;&#62;"&#65;" &#112;&#97;&#116;&#104; w&#97;&#115; &#97;&#100;&#100;&#101;&#100; &#98;&#117;&#116; &#110;&#111;&#116; y&#101;&#116; &#99;&#111;&#109;&#105;&#116;&#116;&#101;&#100;&#60;/&#108;&#105;&#62; 128 <li>"A" path was added but not yet comitted</li>
129 &#60;&#108;&#105;&#62;"&#77;" &#112;&#97;&#116;&#104; &#104;&#97;&#115; &#108;&#111;&#99;&#97;&#108; &#99;&#104;&#97;&#110;&#103;&#101;&#115;&#60;/&#108;&#105;&#62; 129 <li>"M" path has local changes</li>
130 &#60;&#108;&#105;&#62;"&#82;" &#112;&#97;&#116;&#104; w&#97;&#115; &#100;&#101;&#108;&#101;&#116;&#101;&#100; &#97;&#110;&#100; &#116;&#104;&#101;&#110; &#114;&#101;-&#97;&#100;&#100;&#101;&#100;&#60;/&#108;&#105;&#62; 130 <li>"R" path was deleted and then re-added</li>
131 &#60;&#108;&#105;&#62;"&#85;" &#112;&#97;&#116;&#104; &#110;&#101;&#101;&#100;&#115; &#97;&#110; &#117;&#112;&#100;&#97;&#116;&#101;&#60;/&#108;&#105;&#62; 131 <li>"U" path needs an update</li>
132 &#60;&#108;&#105;&#62;"&#90;" &#112;&#97;&#116;&#104; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#115; &#97; &#99;&#111;&#110;&#102;&#108;&#105;&#99;&#116;&#60;/&#108;&#105;&#62; 132 <li>"Z" path contains a conflict</li>
133 &#60;&#108;&#105;&#62;" " &#112;&#97;&#116;&#104; &#105;&#115; &#98;&#97;&#99;&#107; &#97;&#116; &#110;&#111;&#114;&#109;&#97;&#108;&#60;/&#108;&#105;&#62; 133 <li>" " path is back at normal</li>
134 &#60;/&#117;&#108;&#62; 134 </ul>
135 </p><dl> 135 </p><dl>
136 <dt>Returns:</dt> 136 <dt>Returns:</dt>
137 <dd> 137 <dd>
138 &#116;&#117;&#112;&#108;&#101; &#111;&#102; &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#115;&#117;&#99;&#99;&#101;&#115;&#115;&#102;&#117;&#108; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) &#97;&#110;&#100; 138 tuple of flag indicating successful operation (boolean) and
139 &#97; &#115;&#116;&#97;&#116;&#117;&#115; &#109;&#101;&#115;&#115;&#97;&#103;&#101; &#105;&#110; &#99;&#97;&#115;&#101; &#111;&#102; &#110;&#111;&#110; &#115;&#117;&#99;&#99;&#101;&#115;&#115;&#102;&#117;&#108; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110; (&#81;&#83;&#116;&#114;&#105;&#110;&#103;) 139 a status message in case of non successful operation (QString)
140 </dd> 140 </dd>
141 </dl><a NAME="VcsStatusMonitorThread.checkStatus" ID="VcsStatusMonitorThread.checkStatus"></a> 141 </dl><a NAME="VcsStatusMonitorThread.checkStatus" ID="VcsStatusMonitorThread.checkStatus"></a>
142 <h4>VcsStatusMonitorThread.checkStatus</h4> 142 <h4>VcsStatusMonitorThread.checkStatus</h4>
143 <b>checkStatus</b>(<i></i>) 143 <b>checkStatus</b>(<i></i>)
144 <p> 144 <p>
145 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; w&#97;&#107;&#101; &#117;&#112; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#117;&#115; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#116;&#104;&#114;&#101;&#97;&#100;. 145 Public method to wake up the status monitor thread.
146 </p><a NAME="VcsStatusMonitorThread.clearCachedState" ID="VcsStatusMonitorThread.clearCachedState"></a> 146 </p><a NAME="VcsStatusMonitorThread.clearCachedState" ID="VcsStatusMonitorThread.clearCachedState"></a>
147 <h4>VcsStatusMonitorThread.clearCachedState</h4> 147 <h4>VcsStatusMonitorThread.clearCachedState</h4>
148 <b>clearCachedState</b>(<i>name</i>) 148 <b>clearCachedState</b>(<i>name</i>)
149 <p> 149 <p>
150 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#108;&#101;&#97;&#114; &#116;&#104;&#101; &#99;&#97;&#99;&#104;&#101;&#100; &#86;&#67;&#83; &#115;&#116;&#97;&#116;&#101; &#111;&#102; &#97; &#102;&#105;&#108;&#101;/&#100;&#105;&#114;&#101;&#99;&#116;&#111;&#114;y. 150 Public method to clear the cached VCS state of a file/directory.
151 </p><dl> 151 </p><dl>
152 <dt><i>name</i></dt> 152 <dt><i>name</i></dt>
153 <dd> 153 <dd>
154 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y &#116;&#111; &#98;&#101; &#99;&#108;&#101;&#97;&#114;&#101;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;) 154 name of the entry to be cleared (string)
155 </dd> 155 </dd>
156 </dl><a NAME="VcsStatusMonitorThread.getAutoUpdate" ID="VcsStatusMonitorThread.getAutoUpdate"></a> 156 </dl><a NAME="VcsStatusMonitorThread.getAutoUpdate" ID="VcsStatusMonitorThread.getAutoUpdate"></a>
157 <h4>VcsStatusMonitorThread.getAutoUpdate</h4> 157 <h4>VcsStatusMonitorThread.getAutoUpdate</h4>
158 <b>getAutoUpdate</b>(<i></i>) 158 <b>getAutoUpdate</b>(<i></i>)
159 <p> 159 <p>
160 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#117;&#115; &#111;&#102; &#116;&#104;&#101; &#97;&#117;&#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110;. 160 Public method to retrieve the status of the auto update function.
161 </p><dl> 161 </p><dl>
162 <dt>Returns:</dt> 162 <dt>Returns:</dt>
163 <dd> 163 <dd>
164 &#115;&#116;&#97;&#116;&#117;&#115; &#111;&#102; &#116;&#104;&#101; &#97;&#117;&#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 164 status of the auto update function (boolean)
165 </dd> 165 </dd>
166 </dl><a NAME="VcsStatusMonitorThread.getInterval" ID="VcsStatusMonitorThread.getInterval"></a> 166 </dl><a NAME="VcsStatusMonitorThread.getInterval" ID="VcsStatusMonitorThread.getInterval"></a>
167 <h4>VcsStatusMonitorThread.getInterval</h4> 167 <h4>VcsStatusMonitorThread.getInterval</h4>
168 <b>getInterval</b>(<i></i>) 168 <b>getInterval</b>(<i></i>)
169 <p> 169 <p>
170 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#105;&#110;&#116;&#101;&#114;v&#97;&#108;. 170 Public method to get the monitor interval.
171 </p><dl> 171 </p><dl>
172 <dt>Returns:</dt> 172 <dt>Returns:</dt>
173 <dd> 173 <dd>
174 &#105;&#110;&#116;&#101;&#114;v&#97;&#108; &#105;&#110; &#115;&#101;&#99;&#111;&#110;&#100;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 174 interval in seconds (integer)
175 </dd> 175 </dd>
176 </dl><a NAME="VcsStatusMonitorThread.run" ID="VcsStatusMonitorThread.run"></a> 176 </dl><a NAME="VcsStatusMonitorThread.run" ID="VcsStatusMonitorThread.run"></a>
177 <h4>VcsStatusMonitorThread.run</h4> 177 <h4>VcsStatusMonitorThread.run</h4>
178 <b>run</b>(<i></i>) 178 <b>run</b>(<i></i>)
179 <p> 179 <p>
180 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#116;&#97;&#115;&#107;&#115; &#97;&#99;&#116;&#105;&#111;&#110;. 180 Protected method implementing the tasks action.
181 </p><a NAME="VcsStatusMonitorThread.setAutoUpdate" ID="VcsStatusMonitorThread.setAutoUpdate"></a> 181 </p><a NAME="VcsStatusMonitorThread.setAutoUpdate" ID="VcsStatusMonitorThread.setAutoUpdate"></a>
182 <h4>VcsStatusMonitorThread.setAutoUpdate</h4> 182 <h4>VcsStatusMonitorThread.setAutoUpdate</h4>
183 <b>setAutoUpdate</b>(<i>auto</i>) 183 <b>setAutoUpdate</b>(<i>auto</i>)
184 <p> 184 <p>
185 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#101;&#110;&#97;&#98;&#108;&#101; &#116;&#104;&#101; &#97;&#117;&#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110;. 185 Public method to enable the auto update function.
186 </p><dl> 186 </p><dl>
187 <dt><i>auto</i></dt> 187 <dt><i>auto</i></dt>
188 <dd> 188 <dd>
189 &#115;&#116;&#97;&#116;&#117;&#115; &#111;&#102; &#116;&#104;&#101; &#97;&#117;&#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 189 status of the auto update function (boolean)
190 </dd> 190 </dd>
191 </dl><a NAME="VcsStatusMonitorThread.setInterval" ID="VcsStatusMonitorThread.setInterval"></a> 191 </dl><a NAME="VcsStatusMonitorThread.setInterval" ID="VcsStatusMonitorThread.setInterval"></a>
192 <h4>VcsStatusMonitorThread.setInterval</h4> 192 <h4>VcsStatusMonitorThread.setInterval</h4>
193 <b>setInterval</b>(<i>interval</i>) 193 <b>setInterval</b>(<i>interval</i>)
194 <p> 194 <p>
195 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#97;&#110;&#103;&#101; &#116;&#104;&#101; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#105;&#110;&#116;&#101;&#114;v&#97;&#108;. 195 Public method to change the monitor interval.
196 </p><dl> 196 </p><dl>
197 <dt><i>interval</i></dt> 197 <dt><i>interval</i></dt>
198 <dd> 198 <dd>
199 &#110;&#101;w &#105;&#110;&#116;&#101;&#114;v&#97;&#108; &#105;&#110; &#115;&#101;&#99;&#111;&#110;&#100;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 199 new interval in seconds (integer)
200 </dd> 200 </dd>
201 </dl><a NAME="VcsStatusMonitorThread.stop" ID="VcsStatusMonitorThread.stop"></a> 201 </dl><a NAME="VcsStatusMonitorThread.stop" ID="VcsStatusMonitorThread.stop"></a>
202 <h4>VcsStatusMonitorThread.stop</h4> 202 <h4>VcsStatusMonitorThread.stop</h4>
203 <b>stop</b>(<i></i>) 203 <b>stop</b>(<i></i>)
204 <p> 204 <p>
205 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#116;&#111;&#112; &#116;&#104;&#101; &#109;&#111;&#110;&#105;&#116;&#111;&#114; &#116;&#104;&#114;&#101;&#97;&#100;. 205 Public method to stop the monitor thread.
206 </p> 206 </p>
207 <div align="right"><a href="#top">Up</a></div> 207 <div align="right"><a href="#top">Up</a></div>
208 <hr /> 208 <hr />
209 </body></html> 209 </body></html>

eric ide

mercurial