You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2021/10/06 22:41:11 UTC

[GitHub] [beam] ihji commented on a change in pull request #15606: [BEAM-12978] Customizable dependency for Java external transform

ihji commented on a change in pull request #15606:
URL: https://github.com/apache/beam/pull/15606#discussion_r723729076



##########
File path: sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/ExternalTransformBuilder.java
##########
@@ -44,4 +47,12 @@
 
   /** Builds the transform after it has been configured. */
   PTransform<InputT, OutputT> buildExternal(ConfigT configuration);
+
+  /**
+   * List the dependencies needed for this transform. Jars from classpath are used by default when
+   * Optional.empty() is returned.
+   */
+  default Optional<List<String>> getDependencies(PipelineOptions options) {

Review comment:
       Done.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org