public abstract class PortablePipelineJarUtils
extends java.lang.Object
Jar layout:
| Constructor and Description |
|---|
PortablePipelineJarUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.beam.model.jobmanagement.v1.ArtifactApi.ProxyManifest |
getArtifactManifestFromClassPath() |
static org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline |
getPipelineFromClasspath() |
static org.apache.beam.vendor.grpc.v1p21p0.com.google.protobuf.Struct |
getPipelineOptionsFromClasspath() |
static java.lang.String |
stageArtifacts(org.apache.beam.model.jobmanagement.v1.ArtifactApi.ProxyManifest proxyManifest,
PipelineOptions options,
java.lang.String invocationId,
java.lang.String artifactStagingPath)
Writes artifacts listed in
proxyManifest. |
public static org.apache.beam.model.pipeline.v1.RunnerApi.Pipeline getPipelineFromClasspath()
throws java.io.IOException
java.io.IOExceptionpublic static org.apache.beam.vendor.grpc.v1p21p0.com.google.protobuf.Struct getPipelineOptionsFromClasspath()
throws java.io.IOException
java.io.IOExceptionpublic static org.apache.beam.model.jobmanagement.v1.ArtifactApi.ProxyManifest getArtifactManifestFromClassPath()
throws java.io.IOException
java.io.IOExceptionpublic static java.lang.String stageArtifacts(org.apache.beam.model.jobmanagement.v1.ArtifactApi.ProxyManifest proxyManifest,
PipelineOptions options,
java.lang.String invocationId,
java.lang.String artifactStagingPath)
throws java.lang.Exception
proxyManifest.java.lang.Exception