public static enum BridgeMethodResolver.Simple.Factory extends Enum<BridgeMethodResolver.Simple.Factory> implements BridgeMethodResolver.Factory
BridgeMethodResolver.Simple
instances
for any given default BridgeMethodResolver.Simple.ConflictHandler
.Enum Constant and Description |
---|
CALL_BRIDGE
A factory for a
BridgeMethodResolver.Factory that implements the
BridgeMethodResolver.Simple.ConflictHandler.Default.CALL_BRIDGE
strategy. |
FAIL_FAST
A factory for a
BridgeMethodResolver.Factory that implements the
BridgeMethodResolver.Simple.ConflictHandler.Default.FAIL_FAST
strategy. |
FAIL_ON_REQUEST
A factory for a
BridgeMethodResolver.Factory that implements the
BridgeMethodResolver.Simple.ConflictHandler.Default.FAIL_ON_REQUEST
strategy. |
Modifier and Type | Method and Description |
---|---|
BridgeMethodResolver |
make(MethodList methodList)
Creates a bridge method resolver for a given list of methods.
|
String |
toString() |
static BridgeMethodResolver.Simple.Factory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BridgeMethodResolver.Simple.Factory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BridgeMethodResolver.Simple.Factory FAIL_FAST
BridgeMethodResolver.Factory
that implements the
BridgeMethodResolver.Simple.ConflictHandler.Default.FAIL_FAST
strategy.public static final BridgeMethodResolver.Simple.Factory FAIL_ON_REQUEST
BridgeMethodResolver.Factory
that implements the
BridgeMethodResolver.Simple.ConflictHandler.Default.FAIL_ON_REQUEST
strategy.public static final BridgeMethodResolver.Simple.Factory CALL_BRIDGE
BridgeMethodResolver.Factory
that implements the
BridgeMethodResolver.Simple.ConflictHandler.Default.CALL_BRIDGE
strategy.public static BridgeMethodResolver.Simple.Factory[] values()
for (BridgeMethodResolver.Simple.Factory c : BridgeMethodResolver.Simple.Factory.values()) System.out.println(c);
public static BridgeMethodResolver.Simple.Factory 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 nullpublic BridgeMethodResolver make(MethodList methodList)
BridgeMethodResolver.Factory
make
in interface BridgeMethodResolver.Factory
methodList
- The relevant methods which can be called in a given context.public String toString()
toString
in class Enum<BridgeMethodResolver.Simple.Factory>
Copyright © 2014–2015. All rights reserved.