public class SpringYarnConfigBuilder extends AbstractConfiguredAnnotationBuilder<SpringYarnConfigs,SpringYarnConfigBuilder,SpringYarnConfigBuilder>
Constructor and Description |
---|
SpringYarnConfigBuilder()
Instantiates a new spring yarn config builder.
|
Modifier and Type | Method and Description |
---|---|
protected SpringYarnConfigs |
performBuild()
Subclasses must implement this method to build the object that is being returned.
|
void |
setYarnConfiguration(org.apache.hadoop.conf.Configuration yarnConfiguration)
Sets the yarn configuration.
|
apply, apply, beforeConfigureMains, beforeConfigurePosts, beforeInit, doBuild, getConfigurer, getConfigurers, getOrApply, getOrBuild, getSharedObject, getSharedObjects, objectPostProcessor, postProcess, removeConfigurer, removeConfigurers, setSharedObject
build, getObject
public SpringYarnConfigBuilder()
protected SpringYarnConfigs performBuild() throws java.lang.Exception
AbstractConfiguredAnnotationBuilder
performBuild
in class AbstractConfiguredAnnotationBuilder<SpringYarnConfigs,SpringYarnConfigBuilder,SpringYarnConfigBuilder>
java.lang.Exception
- on errorpublic void setYarnConfiguration(org.apache.hadoop.conf.Configuration yarnConfiguration)
yarnConfiguration
- the new yarn configuration