Package org.apache.unomi.router.api
Class ImportLineError
java.lang.Object
org.apache.unomi.router.api.ImportLineError
A line error object to carry failure
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the error codeRetrieves the line original contentlong
Retrieves the number of the line which failed to be importedvoid
setErrorCode
(String errorCode) Sets the error codevoid
setLineContent
(String lineContent) Sets the line contentvoid
setLineNb
(long lineNb) Sets the number of the line which failed to be imported
-
Constructor Details
-
ImportLineError
public ImportLineError()
-
-
Method Details
-
getLineNb
public long getLineNb()Retrieves the number of the line which failed to be imported- Returns:
- lineNb
-
setLineNb
public void setLineNb(long lineNb) Sets the number of the line which failed to be imported- Parameters:
lineNb
- new value for lineNb
-
getErrorCode
Retrieves the error code- Returns:
- errorCode
-
setErrorCode
Sets the error code- Parameters:
errorCode
- new value for errorCode
-
getLineContent
Retrieves the line original content- Returns:
- lineContent
-
setLineContent
Sets the line content- Parameters:
lineContent
- cd per new value for lineContent
-