org.eclipse.jpt.core
Interface JpaProject.Updater

All Known Implementing Classes:
JpaProject.Updater.Null
Enclosing interface:
JpaProject

public static interface JpaProject.Updater

Define a strategy that can be used to "update" a JPA project whenever something changes.


Nested Class Summary
static class JpaProject.Updater.Null
          This updater does nothing.
 
Method Summary
 void start()
          The updater has just been assigned to its JPA project.
 void stop()
          The JPA project is disposed; stop the updater.
 void update()
          Update the JPA project.
 

Method Detail

start

void start()
The updater has just been assigned to its JPA project.


update

void update()
Update the JPA project.

JpaProject.update() will call update(), from which the updater is to call JpaProject.update(IProgressMonitor) as appropriate (typically from an asynchronously executing job). Once the updating has quiesced (i.e. there are no outstanding requests for another update), the updater is to call JpaProject.updateQuiesced().


stop

void stop()
The JPA project is disposed; stop the updater.