|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.core.task.longrunning.AbstractLongRunningTask
com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask
com.atlassian.confluence.mail.importers.MboxImporter
public class MboxImporter
| Field Summary |
|---|
| Fields inherited from class com.atlassian.core.task.longrunning.AbstractLongRunningTask |
|---|
progress |
| Constructor Summary | |
|---|---|
MboxImporter()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
|
void |
importMbox()
|
void |
runInternal()
Perform the import. |
void |
setFile(java.io.File file)
Set the file the mail will be read from. |
void |
setInputStream(java.io.InputStream input)
You don't need to set the input stream if you've already set a File |
void |
setMailContentManager(MailContentManager mailContentManager)
Provided by Spring |
void |
setSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
Provided by Spring |
void |
setSpace(Space space)
Set the space the mails will be added to. |
void |
setTransactionManager(org.springframework.orm.hibernate.HibernateTransactionManager transactionManager)
|
| Methods inherited from class com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask |
|---|
getResourceBundle, run |
| Methods inherited from class com.atlassian.core.task.longrunning.AbstractLongRunningTask |
|---|
getCurrentStatus, getElapsedTime, getEstimatedTimeRemaining, getNameKey, getPercentageComplete, getPrettyElapsedTime, getPrettyTimeRemaining, isComplete, isSuccessful, stopTimer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MboxImporter()
| Method Detail |
|---|
public void setSpace(Space space)
space - the space the mails will be added topublic void setFile(java.io.File file)
file - the file the mails will be read frompublic void setInputStream(java.io.InputStream input)
input - the input stream to read the mail frompublic void setSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
public void setMailContentManager(MailContentManager mailContentManager)
public void setTransactionManager(org.springframework.orm.hibernate.HibernateTransactionManager transactionManager)
public void runInternal()
runInternal in class ConfluenceAbstractLongRunningTask
public void importMbox()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||