Enum OutputType

java.lang.Object
java.lang.Enum<OutputType>
org.assertj.db.output.impl.OutputType
All Implemented Interfaces:
Serializable, Comparable<OutputType>, Output

public enum OutputType extends Enum<OutputType> implements Output
Enumeration of the different types of output.
Since:
1.1.0
Author:
Régis Pouiller
  • Enum Constant Details

    • PLAIN

      public static final OutputType PLAIN
      Plain output.
      See Also:
      • PlainOutput
    • HTML

      public static final OutputType HTML
      Html output.
      See Also:
      • HtmlOutput
  • Method Details

    • values

      public static OutputType[] 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

      public static OutputType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getTableOutput

      public String getTableOutput(org.assertj.core.api.WritableAssertionInfo info, Table table)
      Returns the output of a Table.
      Specified by:
      getTableOutput in interface Output
      Parameters:
      info - Writable information about an assertion.
      table - Table.
      Returns:
      The output of a Table.
    • getRequestOutput

      public String getRequestOutput(org.assertj.core.api.WritableAssertionInfo info, Request request)
      Returns the output of a Request.
      Specified by:
      getRequestOutput in interface Output
      Parameters:
      info - Writable information about an assertion.
      request - Request.
      Returns:
      The output of a Request.
    • getChangesOutput

      public String getChangesOutput(org.assertj.core.api.WritableAssertionInfo info, Changes changes)
      Returns the output of Changes.
      Specified by:
      getChangesOutput in interface Output
      Parameters:
      info - Writable information about an assertion.
      changes - Changes.
      Returns:
      The output of Changes.
    • getChangeOutput

      public String getChangeOutput(org.assertj.core.api.WritableAssertionInfo info, Change change)
      Returns the output of a Change.
      Specified by:
      getChangeOutput in interface Output
      Parameters:
      info - Writable information about an assertion.
      change - Change.
      Returns:
      The output of a Change.
    • getRowOutput

      public String getRowOutput(org.assertj.core.api.WritableAssertionInfo info, Row row)
      Returns the output of a Row.
      Specified by:
      getRowOutput in interface Output
      Parameters:
      info - Writable information about an assertion.
      row - Row.
      Returns:
      The output of a Row.
    • getColumnOutput

      public String getColumnOutput(org.assertj.core.api.WritableAssertionInfo info, Column column)
      Returns the output of a Column.
      Specified by:
      getColumnOutput in interface Output
      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 a Column of a Change.
      Specified by:
      getChangeColumnOutput in interface Output
      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 Column of a Change.
    • getValueOutput

      public String getValueOutput(org.assertj.core.api.WritableAssertionInfo info, Value value)
      Returns the output of a value.
      Specified by:
      getValueOutput in interface Output
      Parameters:
      info - Writable information about an assertion.
      value - Value.
      Returns:
      The output of a value.