public static enum BindingFunctionBuilder.RuleSet extends Enum<BindingFunctionBuilder.RuleSet>
| Enum Constant and Description |
|---|
EXPLICIT
Rule set for the explicitly configured rules with the fluent API.
|
INTERMEDIATE_TYPES
Rule set for the intermediate types between a source type (
Context.bind(Class)) and the target type (
Binding.to(Class)) |
SUPER_TYPES
Rule set for the super types of the source types of bindings (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static BindingFunctionBuilder.RuleSet |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BindingFunctionBuilder.RuleSet[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BindingFunctionBuilder.RuleSet EXPLICIT
public static final BindingFunctionBuilder.RuleSet INTERMEDIATE_TYPES
Context.bind(Class)) and the target type (
Binding.to(Class))public static final BindingFunctionBuilder.RuleSet SUPER_TYPES
Context.bind(Class))public static BindingFunctionBuilder.RuleSet[] values()
for (BindingFunctionBuilder.RuleSet c : BindingFunctionBuilder.RuleSet.values()) System.out.println(c);
public static BindingFunctionBuilder.RuleSet valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016 GroupLens Research. All rights reserved.