Interface MigrationStep.Builder

  • Method Details

    • status

      MigrationStep.Builder status(String status)

      The status of the step.

      Parameters:
      status - The status of the step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the step.

      Parameters:
      status - The status of the step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • startedAt

      MigrationStep.Builder startedAt(Instant startedAt)

      The time at which the step started.

      Parameters:
      startedAt - The time at which the step started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endedAt

      MigrationStep.Builder endedAt(Instant endedAt)

      The time at which the step ended.

      Parameters:
      endedAt - The time at which the step ended.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • appliedMigrationNames

      MigrationStep.Builder appliedMigrationNames(Collection<String> appliedMigrationNames)

      The names of the migrations that the step applied.

      Parameters:
      appliedMigrationNames - The names of the migrations that the step applied.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • appliedMigrationNames

      MigrationStep.Builder appliedMigrationNames(String... appliedMigrationNames)

      The names of the migrations that the step applied.

      Parameters:
      appliedMigrationNames - The names of the migrations that the step applied.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • skippedMigrationNames

      MigrationStep.Builder skippedMigrationNames(Collection<String> skippedMigrationNames)

      The names of the migrations that the step skipped.

      Parameters:
      skippedMigrationNames - The names of the migrations that the step skipped.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • skippedMigrationNames

      MigrationStep.Builder skippedMigrationNames(String... skippedMigrationNames)

      The names of the migrations that the step skipped.

      Parameters:
      skippedMigrationNames - The names of the migrations that the step skipped.
      Returns:
      Returns a reference to this object so that method calls can be chained together.