content: /* Generated by camel build tools - do NOT edit this file! */
  package org.apache.camel.k;
  
  import javax.annotation.processing.Generated;
  import java.util.Map;
  
  import org.apache.camel.CamelContext;
  import org.apache.camel.spi.ExtendedPropertyConfigurerGetter;
  import org.apache.camel.spi.PropertyConfigurerGetter;
  import org.apache.camel.spi.ConfigurerStrategy;
  import org.apache.camel.spi.GeneratedPropertyConfigurer;
  import org.apache.camel.util.CaseInsensitiveMap;
  import org.apache.camel.k.SourceDefinition;
  
  /**
   * Generated by camel build tools - do NOT edit this file!
   */
  @Generated("org.apache.camel.maven.packaging.GenerateConfigurerMojo")
  @SuppressWarnings("unchecked")
  public class SourceDefinitionConfigurer extends org.apache.camel.support.component.PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {
  
      @Override
      public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
          org.apache.camel.k.SourceDefinition target = (org.apache.camel.k.SourceDefinition) obj;
          switch (ignoreCase ? name.toLowerCase() : name) {
          case "compressed": target.setCompressed(property(camelContext, boolean.class, value)); return true;
          case "content": target.setContent(property(camelContext, byte[].class, value)); return true;
          case "id": target.setId(property(camelContext, java.lang.String.class, value)); return true;
          case "interceptors": target.setInterceptors(property(camelContext, java.util.List.class, value)); return true;
          case "language": target.setLanguage(property(camelContext, java.lang.String.class, value)); return true;
          case "loader": target.setLoader(property(camelContext, java.lang.String.class, value)); return true;
          case "location": target.setLocation(property(camelContext, java.lang.String.class, value)); return true;
          case "name": target.setName(property(camelContext, java.lang.String.class, value)); return true;
          case "propertynames":
          case "propertyNames": target.setPropertyNames(property(camelContext, java.util.List.class, value)); return true;
          case "type": target.setType(property(camelContext, org.apache.camel.k.SourceType.class, value)); return true;
          default: return false;
          }
      }
  
      @Override
      public Class<?> getOptionType(String name, boolean ignoreCase) {
          switch (ignoreCase ? name.toLowerCase() : name) {
          case "compressed": return boolean.class;
          case "content": return byte[].class;
          case "id": return java.lang.String.class;
          case "interceptors": return java.util.List.class;
          case "language": return java.lang.String.class;
          case "loader": return java.lang.String.class;
          case "location": return java.lang.String.class;
          case "name": return java.lang.String.class;
          case "propertynames":
          case "propertyNames": return java.util.List.class;
          case "type": return org.apache.camel.k.SourceType.class;
          default: return null;
          }
      }
  
      @Override
      public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
          org.apache.camel.k.SourceDefinition target = (org.apache.camel.k.SourceDefinition) obj;
          switch (ignoreCase ? name.toLowerCase() : name) {
          case "compressed": return target.isCompressed();
          case "content": return target.getContent();
          case "id": return target.getId();
          case "interceptors": return target.getInterceptors();
          case "language": return target.getLanguage();
          case "loader": return target.getLoader();
          case "location": return target.getLocation();
          case "name": return target.getName();
          case "propertynames":
          case "propertyNames": return target.getPropertyNames();
          case "type": return target.getType();
          default: return null;
          }
      }
  
      @Override
      public Object getCollectionValueType(Object target, String name, boolean ignoreCase) {
          switch (ignoreCase ? name.toLowerCase() : name) {
          case "interceptors": return java.lang.String.class;
          case "propertynames":
          case "propertyNames": return java.lang.String.class;
          default: return null;
          }
      }
  }
  
  