public enum RouteNamingStrategy extends Enum<RouteNamingStrategy> implements java.util.function.Function<Operation,String>
Enum Constant and Description |
---|
OPERATION_ID |
OPERATION_OPENAPI_PATH |
Modifier and Type | Method and Description |
---|---|
String |
apply(Operation operation) |
static RouteNamingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouteNamingStrategy[] |
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, valueOf
andThen, compose, identity
public static final RouteNamingStrategy OPERATION_ID
public static final RouteNamingStrategy OPERATION_OPENAPI_PATH
public static RouteNamingStrategy[] values()
for (RouteNamingStrategy c : RouteNamingStrategy.values()) System.out.println(c);
public static RouteNamingStrategy 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(Operation operation)
apply
in interface java.util.function.Function<Operation,String>
Copyright © 2021 Eclipse. All rights reserved.