public static enum ClassTransformer.ScalarReplacementOption extends Enum<ClassTransformer.ScalarReplacementOption>
| Modifier and Type | Method and Description |
|---|---|
static ClassTransformer.ScalarReplacementOption |
fromString(String s)
Convert a string to an enum value.
|
static ClassTransformer.ScalarReplacementOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassTransformer.ScalarReplacementOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassTransformer.ScalarReplacementOption OFF
public static final ClassTransformer.ScalarReplacementOption TRY
public static final ClassTransformer.ScalarReplacementOption ON
public static ClassTransformer.ScalarReplacementOption[] values()
for (ClassTransformer.ScalarReplacementOption c : ClassTransformer.ScalarReplacementOption.values()) System.out.println(c);
public static ClassTransformer.ScalarReplacementOption 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 static ClassTransformer.ScalarReplacementOption fromString(String s)
s - the stringIllegalArgumentException - if the string doesn't match any of the enum valuesCopyright © 2017 The Apache Software Foundation. All rights reserved.