public enum NameForType extends Enum<NameForType> implements java.util.function.Function<Class<?>,String>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
String |
apply(Class<?> type) |
static String |
juelNameFor(Class<?> type) |
static String |
juelNameFor(Object instance) |
static NameForType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NameForType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfandThen, compose, identitypublic static final NameForType INSTANCE
public static NameForType[] values()
for (NameForType c : NameForType.values()) System.out.println(c);
public static NameForType 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 String apply(Class<?> type)
apply in interface java.util.function.Function<Class<?>,String>Copyright © 2018 camunda services GmbH. All rights reserved.