Package org.springframework.shell.table
Class CellMatchers
java.lang.Object
org.springframework.shell.table.CellMatchers
Contains factory methods for commonly used
CellMatchers.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CellMatcherat(int theRow, int col) static CellMatchercolumn(int col) static CellMatcherstatic CellMatcherrow(int theRow) static CellMatchertable()
-
Constructor Details
-
CellMatchers
public CellMatchers()
-
-
Method Details
-
table
- Returns:
- a matcher that applies to every cell of the table.
-
column
- Parameters:
col- the column to select- Returns:
- a matcher that applies to every cell of some column of the table.
-
row
- Parameters:
theRow- the row to select- Returns:
- a matcher that applies to every cell of some row of the table.
-
at
- Parameters:
theRow- the row to selectcol- the column to select- Returns:
- a matcher that applies to exactly one cell of the table, identified by its row and colum.
-
ofType
- Parameters:
clazz- the type that cells should contain- Returns:
- a matcher that matches cells whose content is of a certain type
-