| Package | Description |
|---|---|
| io.mongock.runner.core.annotation | |
| io.mongock.runner.core.executor | |
| io.mongock.runner.core.executor.changelog | |
| io.mongock.runner.core.internal |
| Modifier and Type | Method and Description |
|---|---|
default ChangeSetItem |
LegacyAnnotationProcessor.getChangePerformerItem(Method changeSetMethod)
Returns the metatada associated to a method via a mongock change annotation, which includes
: ChangetSet, validation, undo, etc.
|
ChangeSetItem |
LegacyAnnotationProcessor.getChangePerformerItem(Method changeSetMethod,
Method rollbackMethod) |
ChangeSetItem |
LegacyLegacyAnnotationProcessor.getChangePerformerItem(Method changeSetMethod,
Method rollbackMethod) |
ChangeSetItem |
LegacyLegacyAnnotationProcessor.getChangeSetItem(Method method,
Method rollbackMethod) |
| Modifier and Type | Field and Description |
|---|---|
protected Deque<Triple<Object,ChangeSetItem,Exception>> |
ChangeExecutorBase.changeSetsToRollBack |
| Modifier and Type | Method and Description |
|---|---|
protected ChangeEntry |
ChangeExecutorBase.buildChangeEntry(String executionId,
String executionHostname,
ChangeSetItem changeSetItem,
long executionTimeMillis,
ChangeState state,
ChangeType type) |
protected ChangeEntry |
ChangeExecutorBase.buildChangeEntry(String executionId,
String executionHostname,
ChangeSetItem changeSetItem,
long executionTimeMillis,
ChangeState state,
ChangeType type,
Exception executionException,
Exception rollbackException) |
protected void |
ChangeExecutorBase.executeAndLogChangeSet(String executionId,
String executionHostname,
Object changelogInstance,
ChangeSetItem changeSetItem) |
protected boolean |
ChangeExecutorBase.isAlreadyExecuted(ChangeSetItem changeSetItem) |
protected void |
ChangeExecutorBase.logIgnoredChangeSet(ChangeSetItem changeSetItem) |
protected void |
ChangeExecutorBase.processExceptionOnChangeSetExecution(Exception exception,
ChangeSetItem changeSetItem,
boolean throwException) |
protected void |
ChangeExecutorBase.processSingleChangeSet(String executionId,
String executionHostname,
Object changeLogInstance,
ChangeSetItem changeSet) |
protected void |
ChangeExecutorBase.rollbackIfPresentAndTrackChangeEntry(String executionId,
String executionHostname,
Object changeLogInstance,
ChangeSetItem changeSetItem,
Exception changeSetException) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ChangeExecutorBase.loopRawChangeSets(String executionId,
String executionHostName,
Object changeLogInstance,
ChangeLogItem changeLog,
List<? extends ChangeSetItem> changeSets) |
protected void |
ChangeExecutorBase.rollbackProcessedChangeSetsIfApply(String executionId,
String hostname,
Deque<Triple<Object,ChangeSetItem,Exception>> processedChangeSets)
changeSetsToRollBack collection contains "all and only" the changeSets to rollback "manually" in case of any
exception occurs, sorted in reverse order.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<ChangeSetItem> |
ChangeLogServiceBase.fetchChangeSetMethodsSorted(Class<?> type) |
protected List<ChangeSetItem> |
ChangeLogServiceBase.fetchListOfChangeSetsFromClass(Class<?> type) |
| Modifier and Type | Class and Description |
|---|---|
class |
BeforeChangeSetItem |
| Modifier and Type | Method and Description |
|---|---|
List<ChangeSetItem> |
ChangeLogItem.getAllChangeItems() |
List<ChangeSetItem> |
ChangeLogItem.getBeforeItems() |
List<ChangeSetItem> |
ChangeLogItem.getChangeSetItems() |
| Modifier and Type | Method and Description |
|---|---|
static ChangeLogItem |
ChangeLogItem.getFromLegacy(Class<?> type,
String order,
boolean failFast,
List<ChangeSetItem> changeSetElements,
boolean system) |
| Constructor and Description |
|---|
ChangeLogItem(String id,
Class<?> type,
String order,
boolean failFast,
boolean transactional,
List<ChangeSetItem> changeSetElements,
List<ChangeSetItem> beforeChangeSetsItems,
boolean system) |
ChangeLogItem(String id,
Class<?> type,
String order,
boolean failFast,
boolean transactional,
List<ChangeSetItem> changeSetElements,
List<ChangeSetItem> beforeChangeSetsItems,
boolean system) |
Copyright © 2025. All rights reserved.