Interface BatchTransitionService
- All Known Implementing Classes:
DefaultBatchTransitionService
public interface BatchTransitionService
Responsible for persisting state changes related to sandbox transition lifecycle using a batch
approach for optimal efficiency.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
flush
(PromoteBatchFlushContext flushContext) Flush changes related to the promote or deploy forward transitions.void
flush
(StateChangeOnlyBatchFlushContext flushContext) Flush changes related to state change only forChangeSummary
andChangeSummaryGroup
.void
flush
(SummaryBasedFlushContext flushContext) Flush other transition lifecycle changes other than promote or deploy.void
post
(SummaryBasedFlushContext flushContext) Execute any additional operations required after the flush based on the information supplied inSummaryBasedFlushContext.PostInformation
.
-
Method Details
-
flush
Flush changes related to the promote or deploy forward transitions.- Parameters:
flushContext
- The context containing a queue ofChangeSummary
andChangeSummaryGroup
state to persist in a batch call
-
flush
Flush changes related to state change only forChangeSummary
andChangeSummaryGroup
. This does not involve any update of notification states.- Parameters:
flushContext
- The context containing a queue ofChangeSummary
andChangeSummaryGroup
state to persist in a batch call
-
flush
Flush other transition lifecycle changes other than promote or deploy.- Parameters:
flushContext
- The context containing a queue ofChangeSummary
state to persist in a batch call
-
post
Execute any additional operations required after the flush based on the information supplied inSummaryBasedFlushContext.PostInformation
.- Parameters:
flushContext
- Execute any additional operations required after the flush
-