org.eclipse.jpt.core
Class JpaProject.Updater.Null

java.lang.Object
  extended by org.eclipse.jpt.core.JpaProject.Updater.Null
All Implemented Interfaces:
JpaProject.Updater
Enclosing interface:
JpaProject.Updater

public static final class JpaProject.Updater.Null
extends java.lang.Object
implements JpaProject.Updater

This updater does nothing. Useful for testing.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.core.JpaProject.Updater
JpaProject.Updater.Null
 
Method Summary
static JpaProject.Updater instance()
           
 void start()
          The updater has just been assigned to its JPA project.
 void stop()
          The JPA project is disposed; stop the updater.
 java.lang.String toString()
           
 void update()
          Update the JPA project.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

instance

public static JpaProject.Updater instance()

start

public void start()
Description copied from interface: JpaProject.Updater
The updater has just been assigned to its JPA project.

Specified by:
start in interface JpaProject.Updater

update

public void update()
Description copied from interface: JpaProject.Updater
Update the JPA project.

JpaProject.update() will call JpaProject.Updater.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().

Specified by:
update in interface JpaProject.Updater

stop

public void stop()
Description copied from interface: JpaProject.Updater
The JPA project is disposed; stop the updater.

Specified by:
stop in interface JpaProject.Updater

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object