org.caleigo.core
Class IDataTransaction.ProgressAdapter

java.lang.Object
  extended byorg.caleigo.core.IDataTransaction.ProgressAdapter
All Implemented Interfaces:
IDataTransaction.IProgressListener, IDistributable
Enclosing class:
IDataTransaction

public static class IDataTransaction.ProgressAdapter
extends java.lang.Object
implements IDataTransaction.IProgressListener


Constructor Summary
IDataTransaction.ProgressAdapter()
           
 
Method Summary
 void jobCanceled(IDataTransaction.ProgressEvent e)
          Invoked when the job has been successfully canceled.
 void jobCompleted(IDataTransaction.ProgressEvent e)
          Invoked when the job has been successfully completed without any errors and without beeing canceled.
 void jobFailed(IDataTransaction.ProgressEvent e)
          Invoked when the job has failed.
 void jobStarted(IDataTransaction.ProgressEvent e)
          Invoked when the job has been started.
 void progressChanged(IDataTransaction.ProgressEvent e)
          Invoked to signal progress of the job.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IDataTransaction.ProgressAdapter

public IDataTransaction.ProgressAdapter()
Method Detail

jobStarted

public void jobStarted(IDataTransaction.ProgressEvent e)
Invoked when the job has been started.

Specified by:
jobStarted in interface IDataTransaction.IProgressListener

jobCompleted

public void jobCompleted(IDataTransaction.ProgressEvent e)
Invoked when the job has been successfully completed without any errors and without beeing canceled.

Specified by:
jobCompleted in interface IDataTransaction.IProgressListener

jobCanceled

public void jobCanceled(IDataTransaction.ProgressEvent e)
Invoked when the job has been successfully canceled.

Specified by:
jobCanceled in interface IDataTransaction.IProgressListener

jobFailed

public void jobFailed(IDataTransaction.ProgressEvent e)
Invoked when the job has failed. Use the method getException on the job to get the cause of the failure.

Specified by:
jobFailed in interface IDataTransaction.IProgressListener

progressChanged

public void progressChanged(IDataTransaction.ProgressEvent e)
Invoked to signal progress of the job.

Specified by:
progressChanged in interface IDataTransaction.IProgressListener


Copyright © 2005 Caleigo. All Rights Reserved.