Package org.apache.camel.k.listener
Class SourcesConfigurer
- java.lang.Object
-
- org.apache.camel.k.listener.AbstractPhaseListener
-
- org.apache.camel.k.listener.SourcesConfigurer
-
- All Implemented Interfaces:
Runtime.Listener
,org.apache.camel.Ordered
@Configurer public class SourcesConfigurer extends AbstractPhaseListener
-
-
Field Summary
Fields Modifier and Type Field Description static String
CAMEL_K_PREFIX
static String
CAMEL_K_SOURCES_PREFIX
-
Constructor Summary
Constructors Constructor Description SourcesConfigurer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
accept(Runtime runtime)
SourceDefinition[]
getSources()
void
setSources(SourceDefinition[] sources)
-
Methods inherited from class org.apache.camel.k.listener.AbstractPhaseListener
accept
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.camel.k.Runtime.Listener
getOrder
-
-
-
-
Field Detail
-
CAMEL_K_PREFIX
public static final String CAMEL_K_PREFIX
- See Also:
- Constant Field Values
-
CAMEL_K_SOURCES_PREFIX
public static final String CAMEL_K_SOURCES_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSources
public SourceDefinition[] getSources()
-
setSources
public void setSources(SourceDefinition[] sources)
-
accept
protected void accept(Runtime runtime)
- Specified by:
accept
in classAbstractPhaseListener
-
-