public class MockApplicationUpdateContext extends Object implements io.cdap.cdap.api.app.ApplicationUpdateContext
| Constructor and Description |
|---|
MockApplicationUpdateContext(DeltaConfig originalConfig,
Artifact newSource,
Artifact newTarget) |
| Modifier and Type | Method and Description |
|---|---|
<C extends io.cdap.cdap.api.Config> |
getConfig(Type type) |
String |
getConfigAsString() |
List<io.cdap.cdap.api.artifact.ArtifactId> |
getPluginArtifacts(String pluginType,
String pluginName,
io.cdap.cdap.api.artifact.ArtifactVersionRange pluginRange,
int limit) |
List<io.cdap.cdap.api.app.ApplicationConfigUpdateAction> |
getUpdateActions() |
public MockApplicationUpdateContext(DeltaConfig originalConfig, Artifact newSource, Artifact newTarget)
public List<io.cdap.cdap.api.app.ApplicationConfigUpdateAction> getUpdateActions()
getUpdateActions in interface io.cdap.cdap.api.app.ApplicationUpdateContextpublic <C extends io.cdap.cdap.api.Config> C getConfig(Type type)
getConfig in interface io.cdap.cdap.api.app.ApplicationUpdateContextpublic String getConfigAsString()
getConfigAsString in interface io.cdap.cdap.api.app.ApplicationUpdateContextpublic List<io.cdap.cdap.api.artifact.ArtifactId> getPluginArtifacts(String pluginType, String pluginName, @Nullable io.cdap.cdap.api.artifact.ArtifactVersionRange pluginRange, int limit) throws Exception
getPluginArtifacts in interface io.cdap.cdap.api.app.ApplicationUpdateContextExceptionCopyright © 2023 CDAP Licensed under the Apache License, Version 2.0.