Lines 79-84
Link Here
|
79 |
private final boolean followUpJob; |
79 |
private final boolean followUpJob; |
80 |
private final boolean checkForEditorModifications; |
80 |
private final boolean checkForEditorModifications; |
81 |
private final boolean sourceForBinaryRoot; |
81 |
private final boolean sourceForBinaryRoot; |
|
|
82 |
private final boolean transientUpdate; |
82 |
private final CancelRequest cancelRequest; |
83 |
private final CancelRequest cancelRequest; |
83 |
private final SuspendStatus suspendedStatus; |
84 |
private final SuspendStatus suspendedStatus; |
84 |
private final LogContext logContext; |
85 |
private final LogContext logContext; |
Lines 100-105
Link Here
|
100 |
final boolean followUpJob, |
101 |
final boolean followUpJob, |
101 |
final boolean checkForEditorModifications, |
102 |
final boolean checkForEditorModifications, |
102 |
final boolean sourceForBinaryRoot, |
103 |
final boolean sourceForBinaryRoot, |
|
|
104 |
final boolean transientUpdate, |
103 |
@NonNull final SuspendStatus suspendedStatus, |
105 |
@NonNull final SuspendStatus suspendedStatus, |
104 |
@NullAllowed final CancelRequest cancelRequest, |
106 |
@NullAllowed final CancelRequest cancelRequest, |
105 |
@NullAllowed final LogContext logContext |
107 |
@NullAllowed final LogContext logContext |
Lines 116-121
Link Here
|
116 |
this.followUpJob = followUpJob; |
118 |
this.followUpJob = followUpJob; |
117 |
this.checkForEditorModifications = checkForEditorModifications; |
119 |
this.checkForEditorModifications = checkForEditorModifications; |
118 |
this.sourceForBinaryRoot = sourceForBinaryRoot; |
120 |
this.sourceForBinaryRoot = sourceForBinaryRoot; |
|
|
121 |
this.transientUpdate = transientUpdate; |
119 |
this.cancelRequest = cancelRequest; |
122 |
this.cancelRequest = cancelRequest; |
120 |
this.suspendedStatus = suspendedStatus; |
123 |
this.suspendedStatus = suspendedStatus; |
121 |
this.logContext = logContext; |
124 |
this.logContext = logContext; |
Lines 130-135
Link Here
|
130 |
final boolean followUpJob, |
133 |
final boolean followUpJob, |
131 |
final boolean checkForEditorModifications, |
134 |
final boolean checkForEditorModifications, |
132 |
final boolean sourceForBinaryRoot, |
135 |
final boolean sourceForBinaryRoot, |
|
|
136 |
final boolean transientUpdate, |
133 |
@NonNull final SuspendStatus suspendedStatus, |
137 |
@NonNull final SuspendStatus suspendedStatus, |
134 |
@NullAllowed final CancelRequest cancelRequest, |
138 |
@NullAllowed final CancelRequest cancelRequest, |
135 |
@NullAllowed final LogContext logContext |
139 |
@NullAllowed final LogContext logContext |
Lines 145-150
Link Here
|
145 |
this.followUpJob = followUpJob; |
149 |
this.followUpJob = followUpJob; |
146 |
this.checkForEditorModifications = checkForEditorModifications; |
150 |
this.checkForEditorModifications = checkForEditorModifications; |
147 |
this.sourceForBinaryRoot = sourceForBinaryRoot; |
151 |
this.sourceForBinaryRoot = sourceForBinaryRoot; |
|
|
152 |
this.transientUpdate = transientUpdate; |
148 |
this.cancelRequest = cancelRequest; |
153 |
this.cancelRequest = cancelRequest; |
149 |
this.suspendedStatus = suspendedStatus; |
154 |
this.suspendedStatus = suspendedStatus; |
150 |
this.logContext = logContext; |
155 |
this.logContext = logContext; |
Lines 284-289
Link Here
|
284 |
} |
289 |
} |
285 |
|
290 |
|
286 |
/** |
291 |
/** |
|
|
292 |
* Returns true if the indexing is started for modified non saved file |
293 |
* as a part of an index query. |
294 |
* The indexers which are using {@link IndexingSupport} for persistence |
295 |
* do not need this information as the {@link IndexingSupport} handles |
296 |
* transient changes itself. Indexers which are using custom storage |
297 |
* should check the transient indexing flag and don't do any persistent |
298 |
* changes in case of transient indexing. |
299 |
* @return true in case of transient indexing. |
300 |
* @since 1.66 |
301 |
*/ |
302 |
public boolean isTransientIndexing() { |
303 |
return transientUpdate; |
304 |
} |
305 |
|
306 |
/** |
287 |
* Notifies indexers whether they should use editor documents rather than just |
307 |
* Notifies indexers whether they should use editor documents rather than just |
288 |
* files. This is mostly useful for <code>CustomIndexer</code>s that may optimize |
308 |
* files. This is mostly useful for <code>CustomIndexer</code>s that may optimize |
289 |
* their work and not try to find editor documents for their <code>Indexable</code>s. |
309 |
* their work and not try to find editor documents for their <code>Indexable</code>s. |