Package | Description |
---|---|
sk.stuba.fiit.perconik.utilities.configuration |
Utilities extending Java configuration capabilities.
|
Modifier and Type | Interface and Description |
---|---|
interface |
OptionAccessor<T> |
Modifier and Type | Class and Description |
---|---|
class |
AbstractOptionAccessor<T> |
class |
AbstractOptionMapping<T> |
Modifier and Type | Method and Description |
---|---|
static <M extends OptionMapping<T>,T> |
Configurables.mappingFunction(com.google.common.reflect.TypeToken<? extends M> map,
java.lang.Class<T> type) |
static <M extends OptionMapping<T>,T> |
Configurables.mappingFunction(com.google.common.reflect.TypeToken<? extends M> map,
com.google.common.reflect.TypeToken<T> type) |
static <M extends OptionMapping<?>> |
Configurables.mappings(java.lang.Class<?> schema,
com.google.common.base.Function<? super OptionMapping<?>,com.google.common.base.Optional<M>> function) |
Modifier and Type | Method and Description |
---|---|
static <T> OptionMapping<T> |
Configurables.option(com.google.common.reflect.TypeToken<T> type,
java.lang.String key) |
static <T> OptionMapping<T> |
Configurables.option(com.google.common.reflect.TypeToken<T> type,
java.lang.String key,
T defaultValue) |
OptionMapping<T> |
OptionAccessor.toMapping() |
OptionMapping<T> |
AbstractOptionAccessor.toMapping() |
Modifier and Type | Method and Description |
---|---|
static <M extends OptionMapping<T>,T> |
Configurables.mappingFunction(com.google.common.reflect.TypeToken<? extends M> map,
java.lang.Class<T> type) |
static <M extends OptionMapping<T>,T> |
Configurables.mappingFunction(com.google.common.reflect.TypeToken<? extends M> map,
com.google.common.reflect.TypeToken<T> type) |
static <T> com.google.common.reflect.TypeToken<OptionMapping<T>> |
Configurables.mappingOf(java.lang.Class<T> type) |
static <T> com.google.common.reflect.TypeToken<OptionMapping<T>> |
Configurables.mappingOf(com.google.common.reflect.TypeToken<T> type) |
static java.util.List<OptionMapping<?>> |
Configurables.mappings(java.lang.Class<?> schema) |
static <T> java.util.List<OptionMapping<T>> |
Configurables.mappings(java.lang.Class<?> schema,
java.lang.Class<T> type) |
static <T> java.util.List<OptionMapping<T>> |
Configurables.mappings(java.lang.Class<?> schema,
com.google.common.reflect.TypeToken<T> type) |
static com.google.common.reflect.TypeToken<OptionMapping<?>> |
Configurables.wildcardMappingType() |
Modifier and Type | Method and Description |
---|---|
static <T> OptionAccessor<T> |
Configurables.option(OptionParser<? extends T> parser,
OptionMapping<T> mapping) |
Modifier and Type | Method and Description |
---|---|
static MapOptions |
Configurables.defaults(java.lang.Iterable<? extends OptionMapping<?>> mappings) |
static <M extends OptionMapping<?>> |
Configurables.mappings(java.lang.Class<?> schema,
com.google.common.base.Function<? super OptionMapping<?>,com.google.common.base.Optional<M>> function) |