com.atlassian.jira.webtests.table
Class OrCell

java.lang.Object
  extended by com.atlassian.jira.webtests.table.AbstractSimpleCell
      extended by com.atlassian.jira.webtests.table.OrCell
All Implemented Interfaces:
SimpleCell

public class OrCell
extends AbstractSimpleCell

A composite SimpleCell that OR's all the simple cells together.

Since:
v3.12

Constructor Summary
OrCell(Collection simpleCells)
           
OrCell(SimpleCell cell1, SimpleCell cell2)
           
OrCell(SimpleCell cell1, SimpleCell cell2, SimpleCell cell3)
           
 
Method Summary
 boolean equals(com.meterware.httpunit.WebTable table, int row, int col)
          OR's all the simple cells together for the specified table cell
 
Methods inherited from class com.atlassian.jira.webtests.table.AbstractSimpleCell
getCellAsText, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrCell

public OrCell(Collection simpleCells)

OrCell

public OrCell(SimpleCell cell1,
              SimpleCell cell2)

OrCell

public OrCell(SimpleCell cell1,
              SimpleCell cell2,
              SimpleCell cell3)
Method Detail

equals

public boolean equals(com.meterware.httpunit.WebTable table,
                      int row,
                      int col)
OR's all the simple cells together for the specified table cell

Parameters:
table - table to compare
row - row index of table
col - col index of table
Returns:
true if ANY of the simpleCells evaluate true for the given table cell


Copyright © 2002-2012 Atlassian. All Rights Reserved.