Class AndCell
java.lang.Object
com.atlassian.jira.webtests.table.AbstractSimpleCell
com.atlassian.jira.webtests.table.AndCell
- All Implemented Interfaces:
SimpleCell
A composite
SimpleCell that
AND's all the simple cells together.- Since:
- v3.12
-
Constructor Summary
ConstructorsConstructorDescriptionAndCell(SimpleCell cell1, SimpleCell cell2) AndCell(SimpleCell cell1, SimpleCell cell2, SimpleCell cell3) AndCell(SimpleCell cell1, SimpleCell cell2, SimpleCell cell3, SimpleCell cell4) AndCell(SimpleCell cell1, SimpleCell cell2, SimpleCell cell3, SimpleCell cell4, SimpleCell cell5) AndCell(SimpleCell cell1, SimpleCell cell2, SimpleCell cell3, SimpleCell cell4, SimpleCell cell5, SimpleCell cell6) AndCell(Collection simpleCells) -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(com.meterware.httpunit.WebTable table, int row, int col) AND's all the simple cells together for the specified table cellgetCellAsText(com.meterware.httpunit.WebTable table, int row, int col) Need to find which SimpleCell to get the cell as text from, since there could be a mix of different SimpleCell types which want to display different information about the WebTable cell.toString()Methods inherited from class com.atlassian.jira.webtests.table.AbstractSimpleCell
log
-
Constructor Details
-
AndCell
-
AndCell
-
AndCell
-
AndCell
-
AndCell
public AndCell(SimpleCell cell1, SimpleCell cell2, SimpleCell cell3, SimpleCell cell4, SimpleCell cell5) -
AndCell
public AndCell(SimpleCell cell1, SimpleCell cell2, SimpleCell cell3, SimpleCell cell4, SimpleCell cell5, SimpleCell cell6)
-
-
Method Details
-
getCellAsText
Need to find which SimpleCell to get the cell as text from, since there could be a mix of different SimpleCell types which want to display different information about the WebTable cell.- Specified by:
getCellAsTextin interfaceSimpleCell- Overrides:
getCellAsTextin classAbstractSimpleCell- Parameters:
table- table to lookuprow- row index of tablecol- col index of table- Returns:
- interesting information about the cell for the cell that is not equal to this cell.
-
toString
-
equals
public boolean equals(com.meterware.httpunit.WebTable table, int row, int col) AND's all the simple cells together for the specified table cell- Parameters:
table- table to comparerow- row index of tablecol- col index of table- Returns:
- true if ALL the simpleCells evaluate true for the given table cell
-