public final class RouteBuilderParser extends Object
CamelJavaParserHelper.| Modifier and Type | Method and Description |
|---|---|
static void |
parseRouteBuilderEndpoints(org.jboss.forge.roaster.model.source.JavaClassSource clazz,
String baseDir,
String fullyQualifiedFileName,
List<CamelEndpointDetails> endpoints)
Parses the java source class to discover Camel endpoints.
|
static void |
parseRouteBuilderEndpoints(org.jboss.forge.roaster.model.source.JavaClassSource clazz,
String baseDir,
String fullyQualifiedFileName,
List<CamelEndpointDetails> endpoints,
List<String> unparsable,
boolean includeInlinedRouteBuilders)
Parses the java source class to discover Camel endpoints.
|
static void |
parseRouteBuilderRouteIds(org.jboss.forge.roaster.model.source.JavaClassSource clazz,
String baseDir,
String fullyQualifiedFileName,
List<CamelRouteDetails> routes)
Parses the java source class to discover Camel routes with id's assigned.
|
static void |
parseRouteBuilderSimpleExpressions(org.jboss.forge.roaster.model.source.JavaClassSource clazz,
String baseDir,
String fullyQualifiedFileName,
List<CamelSimpleExpressionDetails> simpleExpressions)
Parses the java source class to discover Camel simple expressions.
|
static List<CamelNodeDetails> |
parseRouteBuilderTree(org.jboss.forge.roaster.model.source.JavaClassSource clazz,
String baseDir,
String fullyQualifiedFileName,
boolean includeInlinedRouteBuilders)
Parses the java source class and build a route model (tree) of the discovered routes in the java source class.
|
public static List<CamelNodeDetails> parseRouteBuilderTree(org.jboss.forge.roaster.model.source.JavaClassSource clazz, String baseDir, String fullyQualifiedFileName, boolean includeInlinedRouteBuilders)
clazz - the java source classbaseDir - the base of the source codefullyQualifiedFileName - the fully qualified source code file namepublic static void parseRouteBuilderEndpoints(org.jboss.forge.roaster.model.source.JavaClassSource clazz,
String baseDir,
String fullyQualifiedFileName,
List<CamelEndpointDetails> endpoints)
clazz - the java source classbaseDir - the base of the source codefullyQualifiedFileName - the fully qualified source code file nameendpoints - list to add discovered and parsed endpointspublic static void parseRouteBuilderEndpoints(org.jboss.forge.roaster.model.source.JavaClassSource clazz,
String baseDir,
String fullyQualifiedFileName,
List<CamelEndpointDetails> endpoints,
List<String> unparsable,
boolean includeInlinedRouteBuilders)
clazz - the java source classbaseDir - the base of the source codefullyQualifiedFileName - the fully qualified source code file nameendpoints - list to add discovered and parsed endpointsunparsable - list of unparsable nodesincludeInlinedRouteBuilders - whether to include inlined route builders in the parsingpublic static void parseRouteBuilderSimpleExpressions(org.jboss.forge.roaster.model.source.JavaClassSource clazz,
String baseDir,
String fullyQualifiedFileName,
List<CamelSimpleExpressionDetails> simpleExpressions)
clazz - the java source classbaseDir - the base of the source codefullyQualifiedFileName - the fully qualified source code file namesimpleExpressions - list to add discovered and parsed simple expressionspublic static void parseRouteBuilderRouteIds(org.jboss.forge.roaster.model.source.JavaClassSource clazz,
String baseDir,
String fullyQualifiedFileName,
List<CamelRouteDetails> routes)
clazz - the java source classbaseDir - the base of the source codefullyQualifiedFileName - the fully qualified source code file nameroutes - list to add discovered and parsed routesApache Camel