org.elasticsearch.common.inject.binder
Interface ConstantBindingBuilder

All Known Implementing Classes:
ConstantBindingBuilderImpl

public interface ConstantBindingBuilder

Binds to a constant value.


Method Summary
 void to(boolean value)
          Binds constant to the given value.
 void to(char value)
          Binds constant to the given value.
 void to(Class<?> value)
          Binds constant to the given value.
 void to(double value)
          Binds constant to the given value.
<E extends Enum<E>>
void
to(E value)
          Binds constant to the given value.
 void to(float value)
          Binds constant to the given value.
 void to(int value)
          Binds constant to the given value.
 void to(long value)
          Binds constant to the given value.
 void to(short value)
          Binds constant to the given value.
 void to(String value)
          Binds constant to the given value.
 

Method Detail

to

void to(String value)
Binds constant to the given value.


to

void to(int value)
Binds constant to the given value.


to

void to(long value)
Binds constant to the given value.


to

void to(boolean value)
Binds constant to the given value.


to

void to(double value)
Binds constant to the given value.


to

void to(float value)
Binds constant to the given value.


to

void to(short value)
Binds constant to the given value.


to

void to(char value)
Binds constant to the given value.


to

void to(Class<?> value)
Binds constant to the given value.


to

<E extends Enum<E>> void to(E value)
Binds constant to the given value.



Copyright © 2009-2012. All Rights Reserved.