Class EventExcelCustomer

java.lang.Object
org.qubership.atp.mia.model.impl.event.EventExcelCustomer
Direct Known Subclasses:
EventExcelProjectFour, EventExcelProjectOne

public abstract class EventExcelCustomer extends Object
  • Field Details

  • Method Details

    • isCurrentFormat

      public boolean isCurrentFormat()
      Check if format of sheet related to provided Customer.
      Returns:
      true if all headers for identification is found in row
    • parse

      public void parse() throws IllegalArgumentException
      Parses Excel file.
      Throws:
      IllegalArgumentException - in case parsing problem
    • defineCellsWithData

      protected abstract void defineCellsWithData(@Nonnull String parentHeaderName, @Nonnull String parentHeaderValue, @Nonnull String childHeader, @Nullable String childHeaderValue)
      Defines cell with data for Event generation.
      Parameters:
      parentHeaderName - parent header name
      parentHeaderValue - parent header value
      childHeader - child header name
      childHeaderValue - child header value