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 StringgetErrorCode()Retrieves the error codeStringgetLineContent()Retrieves the line original contentlonggetLineNb()Retrieves the number of the line which failed to be importedvoidsetErrorCode(String errorCode)Sets the error codevoidsetLineContent(String lineContent)Sets the line contentvoidsetLineNb(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
-
-