Package org.apache.beam.sdk.options
Class PipelineOptions.JobNameFactory
java.lang.Object
org.apache.beam.sdk.options.PipelineOptions.JobNameFactory
- All Implemented Interfaces:
 DefaultValueFactory<String>
- Enclosing interface:
 PipelineOptions
public static class PipelineOptions.JobNameFactory
extends Object
implements DefaultValueFactory<String>
Returns a normalized job name constructed from 
ApplicationNameOptions.getAppName(), the
 local system user name (if available), the current time, and a random integer.
 The normalization makes sure that the name matches the pattern of [a-z]([-a-z0-9]*[a-z0-9])?.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptioncreate(PipelineOptions options) Creates a default value for a getter marked withDefault.InstanceFactory. 
- 
Constructor Details
- 
JobNameFactory
public JobNameFactory() 
 - 
 - 
Method Details
- 
create
Description copied from interface:DefaultValueFactoryCreates a default value for a getter marked withDefault.InstanceFactory.- Specified by:
 createin interfaceDefaultValueFactory<String>- Parameters:
 options- The current pipeline options.- Returns:
 - The default value to be used for the annotated getter.
 
 
 -