Package org.assertj.db.util
Class Descriptions
java.lang.Object
org.assertj.db.util.Descriptions
Utility methods related to descriptions.
- Since:
- 1.0.0
- Author:
- Régis Pouiller
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetChangeDescription(org.assertj.core.api.WritableAssertionInfo info, Changes changes, Change change, int index, ChangeType changeType, String tableName) Returns the description of thechanges.static StringgetChangesDescription(org.assertj.core.api.WritableAssertionInfo info, ChangeType changeType, String tableName) Returns the description of thechanges.static StringgetColumnDescription(org.assertj.core.api.WritableAssertionInfo info, int index, String columnName) Returns the description of thecolumn.static StringgetColumnValueAtEndPointDescription(org.assertj.core.api.WritableAssertionInfo info) Returns the description of thevalueof thecolumn.static StringgetColumnValueAtStartPointDescription(org.assertj.core.api.WritableAssertionInfo info) Returns the description of thevalueof thecolumn.static StringgetColumnValueDescription(org.assertj.core.api.WritableAssertionInfo info, int index) Returns the description of thevalueof thecolumn.static StringgetDescription(Changes changes) Returns the description of thechanges.static StringgetDescription(Request request) Returns the description of therequest.static StringgetDescription(Table table) Returns the description of thetable.static StringgetRowAtEndPointDescription(org.assertj.core.api.WritableAssertionInfo info) Returns the description of therow.static StringgetRowAtStartPointDescription(org.assertj.core.api.WritableAssertionInfo info) Returns the description of therow.static StringgetRowDescription(org.assertj.core.api.WritableAssertionInfo info, int index) Returns the description of therow.static StringgetRowValueDescription(org.assertj.core.api.WritableAssertionInfo info, int index, String columnName) Returns the description of thevalueof therow.
-
Method Details
-
getDescription
Returns the description of thetable.- Parameters:
table- The table- Returns:
- The description
-
getDescription
Returns the description of therequest.- Parameters:
request- The request- Returns:
- The description
-
getDescription
Returns the description of thechanges.- Parameters:
changes- The changes- Returns:
- The description
-
getRowDescription
Returns the description of therow.- Parameters:
info- Writable information about an assertion.index- Index of the row.- Returns:
- The description
-
getRowAtStartPointDescription
Returns the description of therow.- Parameters:
info- Writable information about an assertion.- Returns:
- The description
-
getRowAtEndPointDescription
Returns the description of therow.- Parameters:
info- Writable information about an assertion.- Returns:
- The description
-
getColumnDescription
public static String getColumnDescription(org.assertj.core.api.WritableAssertionInfo info, int index, String columnName) Returns the description of thecolumn.- Parameters:
info- Writable information about an assertion.index- Index of the column.columnName- Name of column.- Returns:
- The description
-
getColumnValueDescription
public static String getColumnValueDescription(org.assertj.core.api.WritableAssertionInfo info, int index) Returns the description of thevalueof thecolumn.- Parameters:
info- Writable information about an assertion.index- Index of the value.- Returns:
- The description
-
getColumnValueAtStartPointDescription
public static String getColumnValueAtStartPointDescription(org.assertj.core.api.WritableAssertionInfo info) Returns the description of thevalueof thecolumn.- Parameters:
info- Writable information about an assertion.- Returns:
- The description
-
getColumnValueAtEndPointDescription
public static String getColumnValueAtEndPointDescription(org.assertj.core.api.WritableAssertionInfo info) Returns the description of thevalueof thecolumn.- Parameters:
info- Writable information about an assertion.- Returns:
- The description
-
getRowValueDescription
public static String getRowValueDescription(org.assertj.core.api.WritableAssertionInfo info, int index, String columnName) Returns the description of thevalueof therow.- Parameters:
info- Writable information about an assertion.index- Index of the value.columnName- Name of column of the value.- Returns:
- The description
-
getChangesDescription
public static String getChangesDescription(org.assertj.core.api.WritableAssertionInfo info, ChangeType changeType, String tableName) Returns the description of thechanges.- Parameters:
info- Writable information about an assertion.changeType- Type of the change.tableName- Name of the table.- Returns:
- The description
-
getChangeDescription
public static String getChangeDescription(org.assertj.core.api.WritableAssertionInfo info, Changes changes, Change change, int index, ChangeType changeType, String tableName) Returns the description of thechanges.- Parameters:
info- Writable information about an assertion.changes- The changeschange- The changeindex- Index of the value.changeType- Type of the change.tableName- Name of the table.- Returns:
- The description
-