Skip to content

Commit

Permalink
Merge pull request #35 from momosetkn/feat/kdoc
Browse files Browse the repository at this point in the history
Fix KDoc
  • Loading branch information
momosetkn authored Sep 24, 2024
2 parents 2930df1 + 264301f commit abfbc69
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1327,8 +1327,8 @@ class ChangeSetDsl(
* [official-document](https://docs.liquibase.com/change-types/custom-change.html)
*
* @param `class` specify KClass or Class<*> of CustomChange or className of CustomChange.
* @param clazz specify KClass or Class<*> of CustomChange or className of CustomChange.
* @param className className of CustomChange.
* @param clazz specify KClass or Class<*> of CustomChange or className of CustomChange. not official param.
* @param className className of CustomChange. not official param.
* @param block Key-value to be given to CustomChange.
*/
fun customChange(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,17 @@ class PreConditionDsl<PRECONDITION_LOGIC : PreconditionLogic>(
preConditions.add(precondition)
}

/**
* Applies a custom-precondition to the preconditions.
* This function requires at least one of the parameters `class`, `clazz`, or `className`.
* Class is requiring implements the [liquibase.precondition.CustomPrecondition]
* [official-document](https://docs.liquibase.com/concepts/changelogs/preconditions.html)
*
* @param `class` specify KClass or Class<*> of CustomChange or className of CustomChange.
* @param clazz specify KClass or Class<*> of CustomChange or className of CustomChange. not official param.
* @param className className of CustomChange. not official param.
* @param block Key-value to be given to CustomChange.
*/
fun customPrecondition(
@Suppress("FunctionParameterNaming")
`class`: Any? = null,
Expand Down

0 comments on commit abfbc69

Please sign in to comment.