@ThreadSafe public class MigrationClientVersion2xState extends Object implements MigrationClientVersionState
Constructor and Description |
---|
MigrationClientVersion2xState() |
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.
|
String |
toString() |
public ClientVersion clientVersion()
MigrationClientVersionState
clientVersion
in interface MigrationClientVersionState
public void enter(ClientVersion fromClientVersion)
MigrationClientVersionState
enter
in interface MigrationClientVersionState
fromClientVersion
- from previous state if any specific action must
be taken based on the state from which this state
is being entered from.public void leave()
MigrationClientVersionState
leave
in interface MigrationClientVersionState
Copyright © 2025. All rights reserved.