|
Spring for Apache Hadoop | ||||||||
| 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<O,I,B>
org.springframework.data.hadoop.config.common.annotation.configurers.PropertiesConfigurer<O,I,B>
O - The Object being built by BI - The type of interface or builder itself returned by the configurerB - The Builder that is building O and is configured by AnnotationConfigurerAdapterpublic class PropertiesConfigurer<O,I,B extends AnnotationBuilder<O>>
AnnotationConfigurer
which knows how to handle configuring a Properties.
| Constructor Summary | |
|---|---|
PropertiesConfigurer()
|
|
| Method Summary | |
|---|---|
void |
configure(B builder)
Configure the AnnotationBuilder by setting the necessary properties
on the AnnotationBuilder. |
protected boolean |
configureProperties(B builder,
java.util.Properties properties)
Configure properties. |
java.util.Properties |
getProperties()
Gets the Properties configured for this builder. |
PropertiesConfigure<I> |
properties(java.util.Properties properties)
Adds a Properties to this builder. |
PropertiesConfigure<I> |
property(java.lang.String key,
java.lang.String value)
Adds a property to this builder. |
| 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 PropertiesConfigurer()
| Method Detail |
|---|
public PropertiesConfigure<I> properties(java.util.Properties properties)
Properties to this builder.
properties in interface PropertiesConfigure<I>properties - the properties
PropertiesConfigure for chaining
public PropertiesConfigure<I> property(java.lang.String key,
java.lang.String value)
property in interface PropertiesConfigure<I>key - the keyvalue - the value
PropertiesConfigure for chainingpublic java.util.Properties getProperties()
Properties configured for this builder.
public void configure(B builder)
throws java.lang.Exception
AnnotationConfigurerAnnotationBuilder by setting the necessary properties
on the AnnotationBuilder.
configure in interface AnnotationConfigurer<O,B extends AnnotationBuilder<O>>configure in class AnnotationConfigurerAdapter<O,I,B extends AnnotationBuilder<O>>builder - the builder
java.lang.Exception - if error occurred
protected boolean configureProperties(B builder,
java.util.Properties properties)
builder - the builderproperties - the properties
|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||