Package org.apache.camel.dsl.modeline
Class EnvTrait
java.lang.Object
org.apache.camel.dsl.modeline.EnvTrait
- All Implemented Interfaces:
Trait
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Name of traitorg.apache.camel.spi.CamelContextCustomizerparseTrait(org.apache.camel.spi.Resource resource, String trait) Parses the trait
-
Constructor Details
-
EnvTrait
public EnvTrait()
-
-
Method Details
-
getName
Description copied from interface:TraitName of trait -
parseTrait
public org.apache.camel.spi.CamelContextCustomizer parseTrait(org.apache.camel.spi.Resource resource, String trait) Description copied from interface:TraitParses the trait- Specified by:
parseTraitin interfaceTrait- Parameters:
resource- the sourcetrait- the trait- Returns:
- a customizer if the trait is accepted, otherwise null is returned
-