Skip to content

Commit

Permalink
Add a family to UpdateClasspathsJob
Browse files Browse the repository at this point in the history
In some cases it is good to wait for a certain type of jobs to complete,
this now adds a family to UpdateClasspathsJob so it can be used to wait
for such kind of jobs to complete (e.g. used in Tycho
api-analysis-mojo).
  • Loading branch information
laeubi committed Dec 31, 2024
1 parent 6e21922 commit b69f7be
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ public UpdateClasspathsJob() {
setRule(ResourcesPlugin.getWorkspace().getRoot());
}

@Override
public boolean belongsTo(Object family) {
return family == PluginModelManager.class;
}

@Override
protected IStatus run(IProgressMonitor monitor) {
try {
Expand Down

0 comments on commit b69f7be

Please sign in to comment.