public enum DelegationMode extends Enum<DelegationMode>
Enum Constant and Description |
---|
DIRECT
The delegate must directly implement the methods interface.
|
SIGNATURE
The delegate must have a method with the same name and matching signature.
|
Modifier and Type | Method and Description |
---|---|
static DelegationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DelegationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DelegationMode DIRECT
public static final DelegationMode SIGNATURE
public static DelegationMode[] values()
for (DelegationMode c : DelegationMode.values()) System.out.println(c);
public static DelegationMode 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 © 2005–2021 Codehaus. All rights reserved.