Package com.atlassian.jira.database
Class ResultRowBuilder
java.lang.Object
com.atlassian.jira.database.ResultRowBuilder
Helps you build a list of ResultRow objects for use in MockDbConnectionManager.
-
Constructor Details
-
ResultRowBuilder
public ResultRowBuilder()
-
-
Method Details
-
add
Add the given row to the results.It will usually be more convenient to use
addRow(Object...)
.- Parameters:
row
- the row to add to the results- Returns:
- this builder
-
addRow
Add a row with the given list of column values.Only a partial list of values is required - missing values are treated as NULL
- Parameters:
values
- a (partial) list of column values- Returns:
- this builder
-
toList
-
iterator
-
toString
-