Class TestDataWorkbookStyles

java.lang.Object
org.qubership.atp.mia.model.impl.testdata.TestDataWorkbookStyles
All Implemented Interfaces:
AutoCloseable

public class TestDataWorkbookStyles extends Object implements AutoCloseable
  • Constructor Details

    • TestDataWorkbookStyles

      public TestDataWorkbookStyles()
  • Method Details

    • getCellStyle

      public org.apache.poi.ss.usermodel.CellStyle getCellStyle(ValidatedParameters.State isPassed)
      Gets style for Cell.
      Parameters:
      isPassed - if style of cell should be PASSED
      Returns:
      cell style
    • getCellStyle

      public org.apache.poi.ss.usermodel.CellStyle getCellStyle(org.apache.poi.ss.usermodel.IndexedColors fillColor)
      Gets style for Cell.
      Parameters:
      fillColor - color to fill cell
      Returns:
      cell style
    • close

      public void close() throws Exception
      Specified by:
      close in interface AutoCloseable
      Throws:
      Exception