Package org.onosproject.upgrade
Class Upgrade
- java.lang.Object
 - 
- org.onosproject.upgrade.Upgrade
 
 
- 
@Beta public class Upgrade extends Object
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpgrade.StatusRepresents 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 Versionsource()Returns the source version.Upgrade.Statusstatus()Returns the upgrade status.Versiontarget()Returns the target version.StringtoString() 
 - 
 
- 
- 
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
 
 
 - 
 
 -