public enum OutputType extends Enum<OutputType> implements Output
| Enum Constant and Description |
|---|
HTML
Html output.
|
PLAIN
Plain output.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getChangeColumnOutput(org.assertj.core.api.WritableAssertionInfo info,
String columnName,
Value valueAtStartPoint,
Value valueAtEndPoint)
Returns the output of a
Column of a Change. |
String |
getChangeOutput(org.assertj.core.api.WritableAssertionInfo info,
Change change)
Returns the output of a
Change. |
String |
getChangesOutput(org.assertj.core.api.WritableAssertionInfo info,
Changes changes)
Returns the output of
Changes. |
String |
getColumnOutput(org.assertj.core.api.WritableAssertionInfo info,
Column column)
Returns the output of a
Column. |
String |
getRequestOutput(org.assertj.core.api.WritableAssertionInfo info,
Request request)
Returns the output of a
Request. |
String |
getRowOutput(org.assertj.core.api.WritableAssertionInfo info,
Row row)
Returns the output of a
Row. |
String |
getTableOutput(org.assertj.core.api.WritableAssertionInfo info,
Table table)
Returns the output of a
Table. |
String |
getValueOutput(org.assertj.core.api.WritableAssertionInfo info,
Value value)
Returns the output of a value.
|
static OutputType |
valueOf(String name)
Returns 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.
|
public static final OutputType PLAIN
PlainOutputpublic static final OutputType HTML
HtmlOutputpublic static OutputType[] values()
for (OutputType c : OutputType.values()) System.out.println(c);
public static OutputType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getTableOutput(org.assertj.core.api.WritableAssertionInfo info, Table table)
Table.getTableOutput in interface Outputinfo - Writable information about an assertion.table - Table.Table.public String getRequestOutput(org.assertj.core.api.WritableAssertionInfo info, Request request)
Request.getRequestOutput in interface Outputinfo - Writable information about an assertion.request - Request.Request.public String getChangesOutput(org.assertj.core.api.WritableAssertionInfo info, Changes changes)
Changes.getChangesOutput in interface Outputinfo - Writable information about an assertion.changes - Changes.Changes.public String getChangeOutput(org.assertj.core.api.WritableAssertionInfo info, Change change)
Change.getChangeOutput in interface Outputinfo - Writable information about an assertion.change - Change.Change.public String getRowOutput(org.assertj.core.api.WritableAssertionInfo info, Row row)
Row.getRowOutput in interface Outputinfo - Writable information about an assertion.row - Row.Row.public String getColumnOutput(org.assertj.core.api.WritableAssertionInfo info, Column column)
Column.getColumnOutput in interface Outputinfo - Writable information about an assertion.column - Column.Column.public String getChangeColumnOutput(org.assertj.core.api.WritableAssertionInfo info, String columnName, Value valueAtStartPoint, Value valueAtEndPoint)
Column of a Change.getChangeColumnOutput in interface Outputinfo - Writable information about an assertion.columnName - Column name.valueAtStartPoint - Value at start point.valueAtEndPoint - Value at end point.Column of a Change.public String getValueOutput(org.assertj.core.api.WritableAssertionInfo info, Value value)
getValueOutput in interface Outputinfo - Writable information about an assertion.value - Value.Copyright © 2015–2017 AssertJ. All rights reserved.