Class AbstractSimpleCell

java.lang.Object
com.atlassian.jira.webtests.table.AbstractSimpleCell
All Implemented Interfaces:
SimpleCell
Direct Known Subclasses:
AndCell, EmptyCell, ImageCell, LinkCell, NotCell, OrCell, StrictTextCell, TextCell

public abstract class AbstractSimpleCell extends Object implements SimpleCell
Convinience abstract class for SimpleCell
Since:
v3.12
  • Constructor Details

    • AbstractSimpleCell

      public AbstractSimpleCell()
  • Method Details

    • getCellAsText

      public String getCellAsText(com.meterware.httpunit.WebTable table, int row, int col)
      Description copied from interface: SimpleCell
      WebTable.getCellAsText(int, int) returns the text of the cell only. Using this in log statements is often useless because it does not give interesting information. Eg. ImageCell will return the cells information about the image rather than the text.
      Specified by:
      getCellAsText in interface SimpleCell
      Parameters:
      table - table
      row - row index (starting from 0)
      col - col index (starting from 0)
      Returns:
      String representing the WebTable cell that is interesting to this SimpleCell
    • log

      public void log(String msg)