public final class ContainerUpgradeSupport
extends java.lang.Object
Constructor and Description |
---|
ContainerUpgradeSupport() |
Modifier and Type | Method and Description |
---|---|
static int |
canRollback(Version version,
Container container)
Compare the version with the container
|
static int |
canUpgrade(Version version,
Container container)
Compare the version with the container
|
static Profile[] |
getProfilesForUpgradeOrRollback(Profile[] existingProfiles,
Version targetVersion)
Gets the profiles for upgrade/rollback
|
public static Profile[] getProfilesForUpgradeOrRollback(Profile[] existingProfiles, Version targetVersion)
existingProfiles
- the existing profilestargetVersion
- the target versionpublic static int canUpgrade(Version version, Container container)
version
- the version to rollback tocontainer
- the containerCopyright © 2011-2014 Red Hat. All Rights Reserved.