public static class SagaSchema.Builder extends Object
SagaSchema
that gets initialized with default values.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SagaSchema.Builder |
associationKeyColumn(String columnName)
Sets the name of the association key column.
|
SagaSchema.Builder |
associationValueColumn(String columnName)
Sets the name of the association value column.
|
SagaSchema.Builder |
associationValueEntryTable(String associationValueEntryTable)
Sets the name of the association value entry table.
|
SagaSchema |
build()
Builds a new
SagaSchema from builder values. |
SagaSchema.Builder |
revisionColumn(String columnName)
Sets the name of the revision column.
|
SagaSchema.Builder |
sagaEntryTable(String sagaEntryTable)
Sets the name of the saga entry table.
|
SagaSchema.Builder |
sagaIdColumn(String columnName)
Sets the name of the saga id column.
|
SagaSchema.Builder |
sagaTypeColumn(String columnName)
Sets the name of the saga type column.
|
SagaSchema.Builder |
serializedSagaColumn(String columnName)
Sets the name of the serialized saga column.
|
public SagaSchema.Builder sagaEntryTable(String sagaEntryTable)
sagaEntryTable
- the saga entry table namepublic SagaSchema.Builder revisionColumn(String columnName)
columnName
- the name of the columnpublic SagaSchema.Builder serializedSagaColumn(String columnName)
columnName
- the name of the columnpublic SagaSchema.Builder associationValueEntryTable(String associationValueEntryTable)
associationValueEntryTable
- the association value entry table namepublic SagaSchema.Builder associationKeyColumn(String columnName)
columnName
- the name of the columnpublic SagaSchema.Builder associationValueColumn(String columnName)
columnName
- the name of the columnpublic SagaSchema.Builder sagaIdColumn(String columnName)
columnName
- the name of the columnpublic SagaSchema.Builder sagaTypeColumn(String columnName)
columnName
- the name of the columnpublic SagaSchema build()
SagaSchema
from builder values.Copyright © 2010–2024. All rights reserved.