Package org.springframework.shell.table
Class CellMatchers
java.lang.Object
org.springframework.shell.table.CellMatchers
Contains factory methods for commonly used
CellMatcher
s.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CellMatcher
at
(int theRow, int col) static CellMatcher
column
(int col) static CellMatcher
static CellMatcher
row
(int theRow) static CellMatcher
table()
-
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
-