public class UpgradeSummary extends Object
UpgradeSummary
class is a simple POJO used to serialize the
infomration about and upgrade.Modifier and Type | Field and Description |
---|---|
long |
associatedRepositoryId
The ID of the repository associated with the upgrade.
|
String |
associatedStackId
The ID of the repository associated with the upgrade.
|
String |
associatedVersion
The ID of the repository associated with the upgrade.
|
Direction |
direction |
boolean |
isDowngradeAllowed |
boolean |
isRevert |
boolean |
isSwitchBits
MAINT or PATCH upgrades are meant to just be switching the bits and no other
incompatible changes.
|
org.apache.ambari.spi.RepositoryType |
orchestration |
Map<String,UpgradeServiceSummary> |
services |
org.apache.ambari.spi.upgrade.UpgradeType |
type |
Constructor and Description |
---|
UpgradeSummary() |
public Direction direction
public org.apache.ambari.spi.upgrade.UpgradeType type
public org.apache.ambari.spi.RepositoryType orchestration
public boolean isRevert
public boolean isDowngradeAllowed
public Map<String,UpgradeServiceSummary> services
public long associatedRepositoryId
Direction.UPGRADE
, this is the target repository, for a
Direction.DOWNGRADE
this was the repository being downgraded
from.public String associatedStackId
Direction.UPGRADE
, this is the target stack, for a
Direction.DOWNGRADE
this was the stack that is being downgraded
from.public String associatedVersion
Direction.UPGRADE
, this is the target versopm, for a
Direction.DOWNGRADE
this was the version that is being downgraded
from.public boolean isSwitchBits
Copyright © 2022 Apache Software Foundation. All rights reserved.