Package org.nuxeo.ecm.csv.core
Class CSVImportStatus
- java.lang.Object
-
- org.nuxeo.ecm.csv.core.CSVImportStatus
-
- All Implemented Interfaces:
Serializable
public class CSVImportStatus extends Object implements Serializable
- Since:
- 5.7
- Author:
- Thomas Roger
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CSVImportStatus.State
-
Constructor Summary
Constructors Constructor Description CSVImportStatus(CSVImportStatus.State state)
CSVImportStatus(CSVImportStatus.State state, int positionInQueue, int queueSize)
Deprecated.since 9.1CSVImportStatus(CSVImportStatus.State state, long numberOfProcessedDocument, long totalNumberOfDocument)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description long
getNumberOfProcessedDocument()
int
getPositionInQueue()
Deprecated.since 9.1, meaningless usegetNumberOfProcessedDocument()
instead.int
getQueueSize()
Deprecated.since 9.1, meaningless usegetTotalNumberOfDocument()
instead.CSVImportStatus.State
getState()
long
getTotalNumberOfDocument()
boolean
isComplete()
boolean
isRunning()
boolean
isScheduled()
-
-
-
Constructor Detail
-
CSVImportStatus
public CSVImportStatus(CSVImportStatus.State state)
-
CSVImportStatus
@Deprecated public CSVImportStatus(CSVImportStatus.State state, int positionInQueue, int queueSize)
Deprecated.since 9.1
-
CSVImportStatus
public CSVImportStatus(CSVImportStatus.State state, long numberOfProcessedDocument, long totalNumberOfDocument)
-
-
Method Detail
-
getNumberOfProcessedDocument
public long getNumberOfProcessedDocument()
- Since:
- 9.1
-
getPositionInQueue
@Deprecated public int getPositionInQueue()
Deprecated.since 9.1, meaningless usegetNumberOfProcessedDocument()
instead.
-
getQueueSize
@Deprecated public int getQueueSize()
Deprecated.since 9.1, meaningless usegetTotalNumberOfDocument()
instead.
-
getState
public CSVImportStatus.State getState()
-
getTotalNumberOfDocument
public long getTotalNumberOfDocument()
- Since:
- 9.1
-
isComplete
public boolean isComplete()
-
isRunning
public boolean isRunning()
-
isScheduled
public boolean isScheduled()
-
-