@Experimental public class DataflowPipelineRunnerHooks extends Object
DataflowPipelineRunner to add user defined hooks to be
invoked at various times during pipeline execution.| Constructor and Description |
|---|
DataflowPipelineRunnerHooks() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
failOnJobFileWriteFailure()
Specifies whether the runner should fail if it fails to write to a job file.
|
void |
modifyEnvironmentBeforeSubmission(com.google.api.services.dataflow.model.Environment environment)
Allows the user to modify the environment of their job before their job is submitted
to the service for execution.
|
boolean |
shouldActuallyRunJob()
Allows the user to specify whether the job should actually be executed.
|
public void modifyEnvironmentBeforeSubmission(com.google.api.services.dataflow.model.Environment environment)
environment - The environment of the job. Users can make change to this instance in order
to change the environment with which their job executes on the service.public boolean shouldActuallyRunJob()
public boolean failOnJobFileWriteFailure()