示例#1
0
 /** @since 2.3 */
 protected List<IResourceDescription.Delta> getRelevantDeltas(IBuildContext context) {
   List<IResourceDescription.Delta> result = newArrayList();
   for (IResourceDescription.Delta delta : context.getDeltas()) {
     if (resourceServiceProvider.canHandle(delta.getUri())) result.add(delta);
   }
   return result;
 }
示例#2
0
 /** @since 2.3 */
 protected List<IResourceDescription.Delta> getRelevantDeltas(IBuildContext context) {
   List<IResourceDescription.Delta> result = newArrayList();
   for (IResourceDescription.Delta delta : context.getDeltas()) {
     if (resourceServiceProvider.canHandle(delta.getUri())
         && (resourceServiceProvider instanceof IResourceServiceProviderExtension)
         && !((IResourceServiceProviderExtension) resourceServiceProvider)
             .isReadOnly(delta.getUri())) {
       result.add(delta);
     }
   }
   return result;
 }