Lines 22-33
Link Here
|
22 |
* deletions and modifications to one or more resources expressed |
22 |
* deletions and modifications to one or more resources expressed |
23 |
* as a hierarchical resource delta. Event type is |
23 |
* as a hierarchical resource delta. Event type is |
24 |
* <code>PRE_BUILD</code>, and <code>getDelta</code> returns |
24 |
* <code>PRE_BUILD</code>, and <code>getDelta</code> returns |
25 |
* the hierarchical delta. The resource delta is rooted at the |
25 |
* the hierarchical delta rooted at the workspace root and describing |
26 |
* workspace root. The <code>getBuildKind</code> method returns |
26 |
* the changes that have occurred since the end of the last <code>POST_BUILD</code> event. |
|
|
27 |
* The <code>getBuildKind</code> method returns |
27 |
* the kind of build that is about to occur, and the <code>getSource</code> |
28 |
* the kind of build that is about to occur, and the <code>getSource</code> |
28 |
* method returns the scope of the build (either the workspace or a single project). |
29 |
* method returns the scope of the build (either the workspace or a single project). |
29 |
* These events are broadcast to interested parties immediately |
30 |
* These events are broadcast to interested parties immediately |
30 |
* before each build operation. If autobuilding is not enabled, these events still |
31 |
* before each build operation. If autobuilding is not enabled, these events still |
31 |
* occur at times when autobuild would have occurred. The workspace is open |
32 |
* occur at times when autobuild would have occurred. The workspace is open |
32 |
* for change during notification of these events. The delta reported in this event |
33 |
* for change during notification of these events. The delta reported in this event |
33 |
* cycle is identical across all listeners registered for this type of event. |
34 |
* cycle is identical across all listeners registered for this type of event. |
Lines 39-46
Link Here
|
39 |
* deletions and modifications to one or more resources expressed |
40 |
* deletions and modifications to one or more resources expressed |
40 |
* as a hierarchical resource delta. Event type is |
41 |
* as a hierarchical resource delta. Event type is |
41 |
* <code>POST_BUILD</code>, and <code>getDelta</code> returns |
42 |
* <code>POST_BUILD</code>, and <code>getDelta</code> returns |
42 |
* the hierarchical delta. The resource delta is rooted at the |
43 |
* the hierarchical delta rooted at the workspace root and describing |
43 |
* workspace root. The <code>getBuildKind</code> method returns |
44 |
* the changes that have occurred since the end of the last <code>POST_BUILD</code> event. |
|
|
45 |
* The <code>getBuildKind</code> method returns |
44 |
* the kind of build that occurred, and the <code>getSource</code> |
46 |
* the kind of build that occurred, and the <code>getSource</code> |
45 |
* method returns the scope of the build (either the workspace or a single project). |
47 |
* method returns the scope of the build (either the workspace or a single project). |
46 |
* These events are broadcast to interested parties at the end of every build operation. |
48 |
* These events are broadcast to interested parties at the end of every build operation. |
Lines 135-148
Link Here
|
135 |
public static final int PRE_AUTO_BUILD = 8; |
137 |
public static final int PRE_AUTO_BUILD = 8; |
136 |
|
138 |
|
137 |
/** |
139 |
/** |
138 |
* Event type constant (bit mask) indicating an before-the-fact |
140 |
* Event type constant (bit mask) indicating a before-the-fact |
139 |
* report of creations, deletions, and modifications |
141 |
* report of a build. The event contains a hierarchical resource delta |
140 |
* to one or more resources expressed as a hierarchical |
142 |
* as returned by <code>getDelta</code> describing the changes |
141 |
* resource delta as returned by <code>getDelta</code>. |
143 |
* that have occurred since the end of the last <code>POST_BUILD</code> event. |
142 |
* See class comments for further details. |
144 |
* See class comments for further details. |
143 |
* |
145 |
* |
144 |
* @see #getType() |
146 |
* @see #getBuildKind() |
145 |
* @see #getResource() |
147 |
* @see #getSource() |
146 |
* @since 3.0 |
148 |
* @since 3.0 |
147 |
*/ |
149 |
*/ |
148 |
public static final int PRE_BUILD = 8; |
150 |
public static final int PRE_BUILD = 8; |
Lines 155-167
Link Here
|
155 |
|
157 |
|
156 |
/** |
158 |
/** |
157 |
* Event type constant (bit mask) indicating an after-the-fact |
159 |
* Event type constant (bit mask) indicating an after-the-fact |
158 |
* report of creations, deletions, and modifications |
160 |
* report of a build. The event contains a hierarchical resource delta |
159 |
* to one or more resources expressed as a hierarchical |
161 |
* as returned by <code>getDelta</code> describing the changes |
160 |
* resource delta as returned by <code>getDelta</code>. |
162 |
* that have occurred since the end of the last <code>POST_BUILD</code> event. |
161 |
* See class comments for further details. |
163 |
* See class comments for further details. |
162 |
* |
164 |
* |
163 |
* @see #getType() |
165 |
* @see #getBuildKind() |
164 |
* @see #getResource() |
166 |
* @see #getSource() |
165 |
* @since 3.0 |
167 |
* @since 3.0 |
166 |
*/ |
168 |
*/ |
167 |
public static final int POST_BUILD = 16; |
169 |
public static final int POST_BUILD = 16; |