public class ReleaseAnalyzer extends Object
Constructor and Description |
---|
ReleaseAnalyzer(SpringCloudDeployerApplicationManifestReader applicationManifestReader,
org.springframework.cloud.deployer.resource.support.DelegatingResourceLoader delegatingResourceLoader) |
Modifier and Type | Method and Description |
---|---|
ReleaseAnalysisReport |
analyze(Release existingRelease,
Release replacingRelease,
boolean isForceUpdate,
List<String> appNamesToUpdate)
Analyze the existing release and the replacing release to determine the minimal number
of changes that need to be made.
|
List<String> |
getAllApplicationNames(Release release) |
public ReleaseAnalyzer(SpringCloudDeployerApplicationManifestReader applicationManifestReader, org.springframework.cloud.deployer.resource.support.DelegatingResourceLoader delegatingResourceLoader)
public ReleaseAnalysisReport analyze(Release existingRelease, Release replacingRelease, boolean isForceUpdate, List<String> appNamesToUpdate)
existingRelease
- the release that is currently deployedreplacingRelease
- the proposed release to be deployed that will replace the
existing release.isForceUpdate
- flag to indicate if the update is forcedappNamesToUpdate
- the application names to force updateCopyright © 2018 Pivotal Software, Inc.. All rights reserved.