public abstract class ContainerUpgradeSupport extends FabricCommand
configurationAdmin, fabricService
Constructor and Description |
---|
ContainerUpgradeSupport() |
Modifier and Type | Method and Description |
---|---|
protected int |
canRollback(Version version,
Container container)
Compare the version with the container
|
protected int |
canUpgrade(Version version,
Container container)
Compare the version with the container
|
protected Profile[] |
getProfilesForUpgradeOrRollback(Profile[] existingProfiles,
Version targetVersion)
Gets the profiles for upgrade/rollback
|
checkFabricAvailable, doesContainerExist, getConfigurationAdmin, getContainer, getCurator, getFabricService, getProfile, getProfiles, getProfiles, isPartOfEnsemble, percentText, setConfigurationAdmin, setCurator, setFabricService, toString, toString
protected Profile[] getProfilesForUpgradeOrRollback(Profile[] existingProfiles, Version targetVersion)
existingProfiles
- the existing profilestargetVersion
- the target versionprotected int canUpgrade(Version version, Container container)
version
- the version to rollback tocontainer
- the containerCopyright © 2017 Red Hat. All Rights Reserved.