Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,14 @@ public Dataflow create(PipelineOptions options) {

/**
* Whether to update the currently running pipeline with the same name as this one.
*
* @deprecated This property is replaced by @{link DataflowPipelineOptions#getUpdate()}
*/
@JsonIgnore
@Deprecated
@Description("If set, replace the existing pipeline with the name specified by --jobName with "
+ "this pipeline, preserving state.")
boolean getUpdate();
@Deprecated
void setUpdate(boolean value);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,19 @@ public interface DataflowPipelineOptions extends
String getJobName();
void setJobName(String value);

/**
* Whether to update the currently running pipeline with the same name as this one.
*/
@Override
@SuppressWarnings("deprecation") // base class member deprecated in favor of this one.
@Description(
"If set, replace the existing pipeline with the name specified by --jobName with "
+ "this pipeline, preserving state.")
boolean getUpdate();
@Override
@SuppressWarnings("deprecation") // base class member deprecated in favor of this one.
void setUpdate(boolean value);

/**
* Returns a normalized job name constructed from {@link ApplicationNameOptions#getAppName()}, the
* local system user name (if available), and the current time. The normalization makes sure that
Expand Down