Package org.onosproject.upgrade
Class Upgrade
- java.lang.Object
-
- org.onosproject.upgrade.Upgrade
-
@Beta public class Upgrade extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Upgrade.Status
Represents the phase of the upgrade protocol.
-
Constructor Summary
Constructors Constructor Description Upgrade(Version source, Version target, Upgrade.Status status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Version
source()
Returns the source version.Upgrade.Status
status()
Returns the upgrade status.Version
target()
Returns the target version.java.lang.String
toString()
-
-
-
Constructor Detail
-
Upgrade
public Upgrade(Version source, Version target, Upgrade.Status status)
-
-
Method Detail
-
source
public Version source()
Returns the source version.- Returns:
- the source version
-
target
public Version target()
Returns the target version.- Returns:
- the target version
-
status
public Upgrade.Status status()
Returns the upgrade status.- Returns:
- the upgrade status
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-