@Beta public class Upgrade extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Upgrade.Status
Represents the phase of the upgrade protocol.
|
Constructor and Description |
---|
Upgrade(Version source,
Version target,
Upgrade.Status status) |
Modifier and Type | Method and Description |
---|---|
Version |
source()
Returns the source version.
|
Upgrade.Status |
status()
Returns the upgrade status.
|
Version |
target()
Returns the target version.
|
String |
toString() |
public Upgrade(Version source, Version target, Upgrade.Status status)
public Version source()
public Version target()
public Upgrade.Status status()