public class ClientUpgradeContext extends Object implements UpgradeContext
| Modifier and Type | Field and Description |
|---|---|
protected ArtifactClient |
artifactClient |
protected co.cask.cdap.proto.Id.Artifact |
artifactId |
| Constructor and Description |
|---|
ClientUpgradeContext(ArtifactClient artifactClient,
co.cask.cdap.proto.Id.Artifact artifactId) |
| Modifier and Type | Method and Description |
|---|---|
static ClientUpgradeContext |
getBatchContext(co.cask.cdap.proto.Id.Namespace namespace,
ArtifactClient artifactClient) |
static ClientUpgradeContext |
getDataPipelineContext(co.cask.cdap.proto.Id.Namespace namespace,
ArtifactClient artifactClient) |
ArtifactSelectorConfig |
getPluginArtifact(String pluginType,
String pluginName) |
static ClientUpgradeContext |
getRealtimeContext(co.cask.cdap.proto.Id.Namespace namespace,
ArtifactClient artifactClient) |
protected final ArtifactClient artifactClient
protected final co.cask.cdap.proto.Id.Artifact artifactId
public ClientUpgradeContext(ArtifactClient artifactClient, co.cask.cdap.proto.Id.Artifact artifactId)
public static ClientUpgradeContext getBatchContext(co.cask.cdap.proto.Id.Namespace namespace, ArtifactClient artifactClient)
public static ClientUpgradeContext getRealtimeContext(co.cask.cdap.proto.Id.Namespace namespace, ArtifactClient artifactClient)
public static ClientUpgradeContext getDataPipelineContext(co.cask.cdap.proto.Id.Namespace namespace, ArtifactClient artifactClient)
@Nullable public ArtifactSelectorConfig getPluginArtifact(String pluginType, String pluginName)
getPluginArtifact in interface UpgradeContextCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.