|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConstrettoConfiguration
Client interface.
| Method Summary | ||
|---|---|---|
void |
addTag(java.lang.String... newtag)
|
|
|
as(java.lang.Class<T> configurationClass)
|
|
ConstrettoConfiguration |
at(java.lang.String expression)
|
|
|
evaluateTo(java.lang.Class<K> targetClass,
java.lang.String expression)
Looks up an expression in the configuration. |
|
|
evaluateTo(java.lang.String expression,
K defaultValue)
Looks up an expression in the configuration. |
|
java.lang.Boolean |
evaluateToBoolean(java.lang.String expression)
|
|
java.lang.Byte |
evaluateToByte(java.lang.String expression)
|
|
java.lang.Double |
evaluateToDouble(java.lang.String expression)
|
|
java.lang.Float |
evaluateToFloat(java.lang.String expression)
|
|
java.lang.Integer |
evaluateToInt(java.lang.String expression)
|
|
java.lang.Long |
evaluateToLong(java.lang.String expression)
|
|
java.lang.Short |
evaluateToShort(java.lang.String expression)
|
|
java.lang.String |
evaluateToString(java.lang.String expression)
|
|
ConstrettoConfiguration |
from(java.lang.String expression)
|
|
boolean |
hasValue(java.lang.String expression)
|
|
|
on(T objectToConfigure)
|
|
void |
removeTag(java.lang.String... newTag)
|
|
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Method Detail |
|---|
<K> K evaluateTo(java.lang.String expression,
K defaultValue)
throws ConstrettoExpressionException
K - The target Typeexpression - The expression to look updefaultValue - The value to return of no value found for the expression
ConstrettoExpressionException - If a valid converter is not found for the target Type
<K> K evaluateTo(java.lang.Class<K> targetClass,
java.lang.String expression)
throws ConstrettoExpressionException,
ConstrettoConversionException
K - the target TypetargetClass - the class to convert the valueexpression - the expression to look up
ConstrettoExpressionException - if the expression is malformed, or a value not found for the expression
ConstrettoConversionException - If a conversion error occures for the resolved value
java.lang.String evaluateToString(java.lang.String expression)
throws ConstrettoException
ConstrettoException
java.lang.Boolean evaluateToBoolean(java.lang.String expression)
throws ConstrettoException
ConstrettoException
java.lang.Double evaluateToDouble(java.lang.String expression)
throws ConstrettoException
ConstrettoException
java.lang.Long evaluateToLong(java.lang.String expression)
throws ConstrettoException
ConstrettoException
java.lang.Float evaluateToFloat(java.lang.String expression)
throws ConstrettoException
ConstrettoException
java.lang.Integer evaluateToInt(java.lang.String expression)
throws ConstrettoException
ConstrettoException
java.lang.Short evaluateToShort(java.lang.String expression)
throws ConstrettoException
ConstrettoException
java.lang.Byte evaluateToByte(java.lang.String expression)
throws ConstrettoException
ConstrettoException
<T> T as(java.lang.Class<T> configurationClass)
throws ConstrettoException
ConstrettoException
<T> T on(T objectToConfigure)
throws ConstrettoException
ConstrettoException
ConstrettoConfiguration at(java.lang.String expression)
throws ConstrettoException
ConstrettoException
ConstrettoConfiguration from(java.lang.String expression)
throws ConstrettoException
ConstrettoException
boolean hasValue(java.lang.String expression)
throws ConstrettoException
ConstrettoException
void addTag(java.lang.String... newtag)
throws ConstrettoException
ConstrettoException
void removeTag(java.lang.String... newTag)
throws ConstrettoException
ConstrettoException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||