|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.data.hadoop.config.common.annotation.AnnotationConfigurerAdapter<Map<String,String>,YarnEnvironmentConfigurer,YarnEnvironmentBuilder>
org.springframework.yarn.config.annotation.configurers.DefaultEnvironmentClasspathConfigurer
public class DefaultEnvironmentClasspathConfigurer
AnnotationConfigurer which knows how to handle configuring a
classpath.
| Constructor Summary | |
|---|---|
DefaultEnvironmentClasspathConfigurer()
|
|
| Method Summary | |
|---|---|
void |
configure(YarnEnvironmentBuilder builder)
|
EnvironmentClasspathConfigurer |
defaultYarnAppClasspath(String... defaultClasspath)
Specify a default yarn application classpath entries. |
EnvironmentClasspathConfigurer |
defaultYarnAppClasspath(String defaultClasspath)
Specify a default yarn application classpath. |
EnvironmentClasspathConfigurer |
delimiter(String delimiter)
Specify a delimiter used in a classpath. |
EnvironmentClasspathConfigurer |
entries(List<String> entries)
Specify a new classpath entries. |
EnvironmentClasspathConfigurer |
entries(String... entries)
Specify a new classpath entries. |
EnvironmentClasspathConfigurer |
entry(String entry)
Specify a new classpath entry. |
EnvironmentClasspathConfigurer |
includeBaseDirectory(boolean includeBaseDirectory)
Specify if base directory should be added in classpath. |
EnvironmentClasspathConfigurer |
useDefaultYarnClasspath(boolean defaultClasspath)
Specify if default yarn classpath entries should be added. |
| Methods inherited from class org.springframework.data.hadoop.config.common.annotation.AnnotationConfigurerAdapter |
|---|
addObjectPostProcessor, and, getBuilder, init, isAssignable, setBuilder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.springframework.data.hadoop.config.common.annotation.AnnotationConfigurerBuilder |
|---|
and |
| Constructor Detail |
|---|
public DefaultEnvironmentClasspathConfigurer()
| Method Detail |
|---|
public void configure(YarnEnvironmentBuilder builder)
throws Exception
configure in interface org.springframework.data.hadoop.config.common.annotation.AnnotationConfigurer<Map<String,String>,YarnEnvironmentBuilder>configure in class org.springframework.data.hadoop.config.common.annotation.AnnotationConfigurerAdapter<Map<String,String>,YarnEnvironmentConfigurer,YarnEnvironmentBuilder>Exceptionpublic EnvironmentClasspathConfigurer entry(String entry)
EnvironmentClasspathConfigurer
entry in interface EnvironmentClasspathConfigurerentry - the classpath entry
EnvironmentClasspathConfigurer for chainingpublic EnvironmentClasspathConfigurer entries(String... entries)
EnvironmentClasspathConfigurer
entries in interface EnvironmentClasspathConfigurerentries - the classpath entries
EnvironmentClasspathConfigurer for chainingpublic EnvironmentClasspathConfigurer entries(List<String> entries)
EnvironmentClasspathConfigurer
entries in interface EnvironmentClasspathConfigurerentries - the classpath entries
EnvironmentClasspathConfigurer for chainingpublic EnvironmentClasspathConfigurer useDefaultYarnClasspath(boolean defaultClasspath)
EnvironmentClasspathConfigurer
useDefaultYarnClasspath in interface EnvironmentClasspathConfigurerdefaultClasspath - the use default classpath
EnvironmentClasspathConfigurer for chainingpublic EnvironmentClasspathConfigurer defaultYarnAppClasspath(String defaultClasspath)
EnvironmentClasspathConfigurer
defaultYarnAppClasspath in interface EnvironmentClasspathConfigurerdefaultClasspath - the default classpath
EnvironmentClasspathConfigurer for chainingpublic EnvironmentClasspathConfigurer defaultYarnAppClasspath(String... defaultClasspath)
EnvironmentClasspathConfigurer
defaultYarnAppClasspath in interface EnvironmentClasspathConfigurerdefaultClasspath - the default classpath entries.
EnvironmentClasspathConfigurer for chainingpublic EnvironmentClasspathConfigurer includeBaseDirectory(boolean includeBaseDirectory)
EnvironmentClasspathConfigurer
includeBaseDirectory in interface EnvironmentClasspathConfigurerincludeBaseDirectory - the include base directory
EnvironmentClasspathConfigurer for chainingpublic EnvironmentClasspathConfigurer delimiter(String delimiter)
EnvironmentClasspathConfigurer
delimiter in interface EnvironmentClasspathConfigurerdelimiter - the delimiter
EnvironmentClasspathConfigurer for chaining
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||