Package org.assertj.db.output.impl
Enum OutputType
- All Implemented Interfaces:
Serializable,Comparable<OutputType>,Output
Enumeration of the different types of output.
- Since:
- 1.1.0
- Author:
- Régis Pouiller
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetChangeColumnOutput(org.assertj.core.api.WritableAssertionInfo info, String columnName, Value valueAtStartPoint, Value valueAtEndPoint) Returns the output of aColumnof aChange.getChangeOutput(org.assertj.core.api.WritableAssertionInfo info, Change change) Returns the output of aChange.getChangesOutput(org.assertj.core.api.WritableAssertionInfo info, Changes changes) Returns the output ofChanges.getColumnOutput(org.assertj.core.api.WritableAssertionInfo info, Column column) Returns the output of aColumn.getRequestOutput(org.assertj.core.api.WritableAssertionInfo info, Request request) Returns the output of aRequest.getRowOutput(org.assertj.core.api.WritableAssertionInfo info, Row row) Returns the output of aRow.getTableOutput(org.assertj.core.api.WritableAssertionInfo info, Table table) Returns the output of aTable.getValueOutput(org.assertj.core.api.WritableAssertionInfo info, Value value) Returns the output of a value.static OutputTypeReturns the enum constant of this type with the specified name.static OutputType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PLAIN
Plain output.- See Also:
-
HTML
Html output.- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getTableOutput
Returns the output of aTable.- Specified by:
getTableOutputin interfaceOutput- Parameters:
info- Writable information about an assertion.table- Table.- Returns:
- The output of a
Table.
-
getRequestOutput
Returns the output of aRequest.- Specified by:
getRequestOutputin interfaceOutput- Parameters:
info- Writable information about an assertion.request- Request.- Returns:
- The output of a
Request.
-
getChangesOutput
Returns the output ofChanges.- Specified by:
getChangesOutputin interfaceOutput- Parameters:
info- Writable information about an assertion.changes- Changes.- Returns:
- The output of
Changes.
-
getChangeOutput
Returns the output of aChange.- Specified by:
getChangeOutputin interfaceOutput- Parameters:
info- Writable information about an assertion.change- Change.- Returns:
- The output of a
Change.
-
getRowOutput
Returns the output of aRow.- Specified by:
getRowOutputin interfaceOutput- Parameters:
info- Writable information about an assertion.row- Row.- Returns:
- The output of a
Row.
-
getColumnOutput
Returns the output of aColumn.- Specified by:
getColumnOutputin interfaceOutput- Parameters:
info- Writable information about an assertion.column- Column.- Returns:
- The output of a
Column.
-
getChangeColumnOutput
public String getChangeColumnOutput(org.assertj.core.api.WritableAssertionInfo info, String columnName, Value valueAtStartPoint, Value valueAtEndPoint) Returns the output of aColumnof aChange.- Specified by:
getChangeColumnOutputin interfaceOutput- Parameters:
info- Writable information about an assertion.columnName- Column name.valueAtStartPoint- Value at start point.valueAtEndPoint- Value at end point.- Returns:
- The output of a
Columnof aChange.
-
getValueOutput
Returns the output of a value.- Specified by:
getValueOutputin interfaceOutput- Parameters:
info- Writable information about an assertion.value- Value.- Returns:
- The output of a value.
-