Package com.logicaldoc.impex
Class ArchiveImporter
java.lang.Object
com.logicaldoc.core.task.Task
com.logicaldoc.impex.ArchiveImporter
- All Implemented Interfaces:
Runnable
@Component("archiveImporter")
public class ArchiveImporter
extends com.logicaldoc.core.task.Task
This component imports all the documents that are into archives ready to be
imported.
- Since:
- 4.5
- Author:
- Matteo Caruso - LogicalDOC
-
Field Summary
FieldsFields inherited from class com.logicaldoc.core.task.Task
STATUS_IDLE, STATUS_RUNNING, STATUS_STOPPING
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
long
org.slf4j.Logger
getLog()
long
boolean
boolean
void
setErrors
(long errors) void
setImported
(long imported) void
setUpdated
(long updated) Methods inherited from class com.logicaldoc.core.task.Task
addTaskListener, getCompletionPercentage, getConfig, getName, getProgress, getReportRecipients, getScheduling, getSize, getStatus, interrupt, isInterrupted, isInterruptRequested, isRunning, isSendActivityReport, notifyReport, removeTaskListener, run, save, saveWork, setReportRecipients, setSendActivityReport, setSize
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
ArchiveImporter
public ArchiveImporter()
-
-
Method Details
-
isIndeterminate
public boolean isIndeterminate()- Specified by:
isIndeterminate
in classcom.logicaldoc.core.task.Task
-
isConcurrent
public boolean isConcurrent()- Specified by:
isConcurrent
in classcom.logicaldoc.core.task.Task
-
getImported
public long getImported() -
getUpdated
public long getUpdated() -
getErrors
public long getErrors() -
getLog
public org.slf4j.Logger getLog() -
setImported
public void setImported(long imported) -
setUpdated
public void setUpdated(long updated) -
setErrors
public void setErrors(long errors)
-