public interface CampaignDataLoaderListener
Modifier and Type | Method and Description |
---|---|
void |
campaignDataLoaded(int parsedFileCount,
int num_files,
int num_spectra,
int files_without_file_loader,
java.util.List<java.lang.String> file_errors,
boolean simple_delta_loading)
Called when the loader has processed all of its input data.
|
void |
campaignDataLoadError(java.lang.String message)
Called when the loader encounters a fatal error.
|
void |
campaignDataLoadException(java.lang.String message,
java.lang.Exception ex)
Called when the loader encounters a fatal exception.
|
void |
campaignDataLoadFileCount(int fileCount,
int spectrumCount)
Called when a new file is processed
|
void |
campaignDataLoading()
Called when the loader is ready to begin.
|
void |
campaignDataLoadOperation(java.lang.String message)
Called when the loader embarks a new operation
|
void campaignDataLoadError(java.lang.String message)
message
- the error messagevoid campaignDataLoadException(java.lang.String message, java.lang.Exception ex)
message
- the error messageex
- the exception that caused the errorvoid campaignDataLoaded(int parsedFileCount, int num_files, int num_spectra, int files_without_file_loader, java.util.List<java.lang.String> file_errors, boolean simple_delta_loading)
parsedFileCount
- the total number of files parsed so farnum_files
- the number of files successfully processednum_spectra
- the number of spectra successfully insertedfiles_without_file_loader
- lists how many files were encountered where no spectral file loader could be foundfile_errors
- a list of files that contained errorssimple_delta_loading
- void campaignDataLoading()
void campaignDataLoadFileCount(int fileCount, int spectrumCount)
fileCount
- the total number of files processed so farspectrumCount
- the total number of spectra processed so farvoid campaignDataLoadOperation(java.lang.String message)
message
- a message describing the current operation