Package org.apache.unomi.router.api
Class ImportLineError
- java.lang.Object
-
- org.apache.unomi.router.api.ImportLineError
-
public class ImportLineError extends Object
A line error object to carry failure
-
-
Constructor Summary
Constructors Constructor Description ImportLineError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getErrorCode()
Retrieves the error codeString
getLineContent()
Retrieves the line original contentlong
getLineNb()
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
-
-
-
Method Detail
-
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
public String getErrorCode()
Retrieves the error code- Returns:
- errorCode
-
setErrorCode
public void setErrorCode(String errorCode)
Sets the error code- Parameters:
errorCode
- new value for errorCode
-
getLineContent
public String getLineContent()
Retrieves the line original content- Returns:
- lineContent
-
setLineContent
public void setLineContent(String lineContent)
Sets the line content- Parameters:
lineContent
- cd per new value for lineContent
-
-