public interface MigrationClientVersionState
Modifier and Type | Method and Description |
---|---|
ClientVersion |
clientVersion()
The associated clientVersion this state corresponds to
|
void |
enter(ClientVersion fromClientVersion)
Enter the state and perform the business logic of being in this state
which includes performing any monitoring that allows the next state
transition and also initializing the KCL based on the ClientVersion.
|
void |
leave()
Invoked after the transition to another state has occurred
to allow printing any helpful logs or performing cleanup.
|
ClientVersion clientVersion()
void enter(ClientVersion fromClientVersion) throws DependencyException
fromClientVersion
- from previous state if any specific action must
be taken based on the state from which this state
is being entered from.DependencyException
- if DDB fails in unexpected ways for those states
that create the GSIvoid leave()
Copyright © 2024. All rights reserved.