Interface KeyContext
-
public interface KeyContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description <T> OptionalPropertyContext<T>
as(Class<T> expectedType, Function<String,T> parser)
<T> OptionalPropertyContext<BeanReference<? extends T>>
asBeanReference(Class<T> expectedBeanType)
OptionalPropertyContext<Boolean>
asBoolean()
default OptionalPropertyContext<Integer>
asInteger()
Deprecated.UseasIntegerPositiveOrZeroOrNegative()
instead.OptionalPropertyContext<Integer>
asIntegerPositiveOrZero()
OptionalPropertyContext<Integer>
asIntegerPositiveOrZeroOrNegative()
OptionalPropertyContext<Integer>
asIntegerStrictlyPositive()
default OptionalPropertyContext<Long>
asLong()
Deprecated.UseasLongPositiveOrZeroOrNegative()
instead.OptionalPropertyContext<Long>
asLongPositiveOrZeroOrNegative()
OptionalPropertyContext<String>
asString()
-
-
-
Method Detail
-
asString
OptionalPropertyContext<String> asString()
-
asBoolean
OptionalPropertyContext<Boolean> asBoolean()
-
asInteger
@Deprecated default OptionalPropertyContext<Integer> asInteger()
Deprecated.UseasIntegerPositiveOrZeroOrNegative()
instead.- Returns:
- The next context.
-
asIntegerPositiveOrZeroOrNegative
OptionalPropertyContext<Integer> asIntegerPositiveOrZeroOrNegative()
-
asIntegerPositiveOrZero
OptionalPropertyContext<Integer> asIntegerPositiveOrZero()
-
asIntegerStrictlyPositive
OptionalPropertyContext<Integer> asIntegerStrictlyPositive()
-
asLong
@Deprecated default OptionalPropertyContext<Long> asLong()
Deprecated.UseasLongPositiveOrZeroOrNegative()
instead.- Returns:
- The next context.
-
asLongPositiveOrZeroOrNegative
OptionalPropertyContext<Long> asLongPositiveOrZeroOrNegative()
-
asBeanReference
<T> OptionalPropertyContext<BeanReference<? extends T>> asBeanReference(Class<T> expectedBeanType)
-
as
<T> OptionalPropertyContext<T> as(Class<T> expectedType, Function<String,T> parser)
-
-