Package org.apache.camel.k
Interface SourceLoader.Result
-
- Enclosing interface:
- SourceLoader
public static interface SourceLoader.Result
Represent the result of the process of loading aSource
.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<org.apache.camel.RoutesBuilder>
builder()
A containing routes to be added to theCamelContext
.Optional<Object>
configuration()
A configuration class that can be used to customize theCamelContext
.static SourceLoader.Result
on(Object target)
Construct an instance ofSourceLoader.Result
by determining the type of hte given target object..static SourceLoader.Result
on(org.apache.camel.RoutesBuilder target)
Construct an instance ofSourceLoader.Result
for the givenRoutesBuilder
.
-
-
-
Method Detail
-
builder
Optional<org.apache.camel.RoutesBuilder> builder()
A containing routes to be added to theCamelContext
.
-
configuration
Optional<Object> configuration()
A configuration class that can be used to customize theCamelContext
.
-
on
static SourceLoader.Result on(org.apache.camel.RoutesBuilder target)
Construct an instance ofSourceLoader.Result
for the givenRoutesBuilder
.
-
on
static SourceLoader.Result on(Object target)
Construct an instance ofSourceLoader.Result
by determining the type of hte given target object..
-
-