Class ImportLineError

java.lang.Object
org.apache.unomi.router.api.ImportLineError

public class ImportLineError extends Object
A line error object to carry failure
  • 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

      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