|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IFolderManager
The Interface IFolderManager.
| Method Summary | |
|---|---|
boolean |
canProcess(javax.mail.Folder folder)
A Folder can be processed if it has not been already fully copied
and it doesn't failed to copy too many times. |
void |
clear()
Clear the list of already copied folders |
void |
done(javax.mail.Folder folder)
Informs the FolderManager that the folder is fully copied. |
void |
failed(javax.mail.Folder folder)
Tells the FolderManager that an error occurred while copying/creating the folder. |
java.util.List<java.lang.String> |
getFolders()
Gets the folders. |
int |
getMaxAttempts()
Gets the max attempts. |
void |
reset(javax.mail.Folder folder)
Reset. |
void |
setFolders(java.util.List<java.lang.String> folderList)
Sets the folders. |
| Method Detail |
|---|
void done(javax.mail.Folder folder)
folder - the foldervoid failed(javax.mail.Folder folder)
folder - the folderboolean canProcess(javax.mail.Folder folder)
Folder can be processed if it has not been already fully copied
and it doesn't failed to copy too many times.
folder - the folder
void reset(javax.mail.Folder folder)
folder - the folderjava.util.List<java.lang.String> getFolders()
void setFolders(java.util.List<java.lang.String> folderList)
folderList - the new foldersint getMaxAttempts()
void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||