Class EnvTrait

java.lang.Object
org.apache.camel.dsl.modeline.EnvTrait
All Implemented Interfaces:
Trait

public class EnvTrait extends Object implements Trait
  • Constructor Details

    • EnvTrait

      public EnvTrait()
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Trait
      Name of trait
      Specified by:
      getName in interface Trait
    • parseTrait

      public org.apache.camel.spi.CamelContextCustomizer parseTrait(org.apache.camel.spi.Resource resource, String trait)
      Description copied from interface: Trait
      Parses the trait
      Specified by:
      parseTrait in interface Trait
      Parameters:
      resource - the source
      trait - the trait
      Returns:
      a customizer if the trait is accepted, otherwise null is returned