public interface ImportFeedback
Modifier and Type | Method and Description |
---|---|
List<String> |
getContextTypes()
Get all type of contexts handled so far by the current import.
|
int |
getFailureCount(String pContextType)
Get the number of failure imports for a specific type of context.
|
int |
getFinishedCount(String pContextType)
Get the number of finished imports for a specific type of context.
|
int |
getLineNumber()
Get the number of lines processed so far.
|
int |
getMessageCount()
Get the number of messages of the current import.
|
List<ImportMessage> |
getMessages()
Gets all messages of the current import.
|
int |
getMostSignificantMessageCount(String pContextType,
ImportMessage.Type pType)
Gets the the number of imports for a specific type of context that have a specific type of most significant
message.
|
ImportMessage.Type |
getMostSignificantMessageType()
Gets the most significant message type.
|
long |
getRunningTime()
Get the running time of import.
|
int |
getStartedCount(String pContextType)
Get the number of started imports for a specific type of context.
|
int |
getSuccessCount(String pContextType)
Get the number of successful imports for a specific type of context.
|
boolean |
isRunning()
Gets whether the import is running.
|
void |
stop()
Stops the import.
|
List<ImportMessage> getMessages()
int getMessageCount()
List<String> getContextTypes()
int getSuccessCount(String pContextType)
pContextType
- the context type.int getFailureCount(String pContextType)
pContextType
- the context type.int getStartedCount(String pContextType)
pContextType
- the context type.int getFinishedCount(String pContextType)
pContextType
- the context type.ImportMessage.Type getMostSignificantMessageType()
int getMostSignificantMessageCount(String pContextType, ImportMessage.Type pType)
pContextType
- the context type.pType
- the message type.boolean isRunning()
long getRunningTime()
int getLineNumber()
void stop()
© 1998- 2021 Escenic AS