public enum RouteSource extends Enum<RouteSource>
Enumerate the source where the route mapping come from.
There are three possible route mapping source:
act.app.conf.AppConfigurator.RouteBuilder
APIs Enum Constant and Description |
---|
ACTION_ANNOTATION
The route mapping come from action annotation
|
ADMIN_ADD
The route mapping com from admin console add instruction
|
ADMIN_OVERWRITE
The route mapping com from admin console instruction
|
APP_CONFIG
The route mapping from programed configuration
|
BUILD_IN |
ROUTE_TABLE
The route mapping from route table file
|
Modifier and Type | Method and Description |
---|---|
static RouteSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouteSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteSource BUILD_IN
public static final RouteSource ROUTE_TABLE
public static final RouteSource ACTION_ANNOTATION
public static final RouteSource APP_CONFIG
public static final RouteSource ADMIN_OVERWRITE
public static final RouteSource ADMIN_ADD
public static RouteSource[] values()
for (RouteSource c : RouteSource.values()) System.out.println(c);
public static RouteSource 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 © 2014–2018 ActFramework. All rights reserved.