public class MockApplicationUpdateContext extends Object implements ApplicationUpdateContext
| Constructor and Description |
|---|
MockApplicationUpdateContext(DeltaConfig originalConfig,
Artifact newSource,
Artifact newTarget) |
| Modifier and Type | Method and Description |
|---|---|
<C extends Config> |
getConfig(Type type) |
String |
getConfigAsString() |
List<ArtifactId> |
getPluginArtifacts(String pluginType,
String pluginName,
ArtifactVersionRange pluginRange,
int limit) |
List<ApplicationConfigUpdateAction> |
getUpdateActions() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPluginArtifactspublic MockApplicationUpdateContext(DeltaConfig originalConfig, Artifact newSource, Artifact newTarget)
public List<ApplicationConfigUpdateAction> getUpdateActions()
getUpdateActions in interface ApplicationUpdateContextpublic <C extends Config> C getConfig(Type type)
getConfig in interface ApplicationUpdateContextpublic String getConfigAsString()
getConfigAsString in interface ApplicationUpdateContextpublic List<ArtifactId> getPluginArtifacts(String pluginType, String pluginName, @Nullable ArtifactVersionRange pluginRange, int limit) throws Exception
getPluginArtifacts in interface ApplicationUpdateContextExceptionCopyright © 2021 CDAP Licensed under the Apache License, Version 2.0.