Package org.fusesource.ide.commons.properties

Examples of org.fusesource.ide.commons.properties.UnionTypeValue


        super.addCustomProperties(descriptors);

        PropertyDescriptor descInheritErrorHandler = new BooleanPropertyDescriptor(PROPERTY_INHERITERRORHANDLER, Messages.propertyLabelLoadBalanceInheritErrorHandler);
        PropertyDescriptor descRef = new TextPropertyDescriptor(PROPERTY_REF, Messages.propertyLabelLoadBalanceRef);
        PropertyDescriptor descLoadBalancerType = new ComplexUnionPropertyDescriptor(PROPERTY_LOADBALANCERTYPE, Messages.propertyLabelLoadBalanceLoadBalancerType, LoadBalancerDefinition.class, new UnionTypeValue[] {
                new UnionTypeValue("failover", org.apache.camel.model.loadbalancer.FailoverLoadBalancerDefinition.class),
                new UnionTypeValue("random", org.apache.camel.model.loadbalancer.RandomLoadBalancerDefinition.class),
                new UnionTypeValue("custom", org.apache.camel.model.loadbalancer.CustomLoadBalancerDefinition.class),
                new UnionTypeValue("roundRobin", org.apache.camel.model.loadbalancer.RoundRobinLoadBalancerDefinition.class),
                new UnionTypeValue("sticky", org.apache.camel.model.loadbalancer.StickyLoadBalancerDefinition.class),
                new UnionTypeValue("topic", org.apache.camel.model.loadbalancer.TopicLoadBalancerDefinition.class),
                new UnionTypeValue("weighted", org.apache.camel.model.loadbalancer.WeightedLoadBalancerDefinition.class),
        });

        descriptors.put(PROPERTY_INHERITERRORHANDLER, descInheritErrorHandler);
        descriptors.put(PROPERTY_REF, descRef);
        descriptors.put(PROPERTY_LOADBALANCERTYPE, descLoadBalancerType);
View Full Code Here


    protected void addCustomProperties(Map<String, PropertyDescriptor> descriptors) {
        super.addCustomProperties(descriptors);

        PropertyDescriptor descRef = new TextPropertyDescriptor(PROPERTY_REF, Messages.propertyLabelUnmarshalRef);
        PropertyDescriptor descDataFormatType = new ComplexUnionPropertyDescriptor(PROPERTY_DATAFORMATTYPE, Messages.propertyLabelUnmarshalDataFormatType, DataFormatDefinition.class, new UnionTypeValue[] {
                new UnionTypeValue("avro", org.apache.camel.model.dataformat.AvroDataFormat.class),
                new UnionTypeValue("base64", org.apache.camel.model.dataformat.Base64DataFormat.class),
                new UnionTypeValue("beanio", org.apache.camel.model.dataformat.BeanioDataFormat.class),
                new UnionTypeValue("bindy", org.apache.camel.model.dataformat.BindyDataFormat.class),
                new UnionTypeValue("castor", org.apache.camel.model.dataformat.CastorDataFormat.class),
                new UnionTypeValue("crypto", org.apache.camel.model.dataformat.CryptoDataFormat.class),
                new UnionTypeValue("csv", org.apache.camel.model.dataformat.CsvDataFormat.class),
                new UnionTypeValue("custom", org.apache.camel.model.dataformat.CustomDataFormat.class),
                new UnionTypeValue("flatpack", org.apache.camel.model.dataformat.FlatpackDataFormat.class),
                new UnionTypeValue("gzip", org.apache.camel.model.dataformat.GzipDataFormat.class),
                new UnionTypeValue("hl7", org.apache.camel.model.dataformat.HL7DataFormat.class),
                new UnionTypeValue("jaxb", org.apache.camel.model.dataformat.JaxbDataFormat.class),
                new UnionTypeValue("jibx", org.apache.camel.model.dataformat.JibxDataFormat.class),
                new UnionTypeValue("json", org.apache.camel.model.dataformat.JsonDataFormat.class),
                new UnionTypeValue("protobuf", org.apache.camel.model.dataformat.ProtobufDataFormat.class),
                new UnionTypeValue("rss", org.apache.camel.model.dataformat.RssDataFormat.class),
                new UnionTypeValue("secureXML", org.apache.camel.model.dataformat.XMLSecurityDataFormat.class),
                new UnionTypeValue("serialization", org.apache.camel.model.dataformat.SerializationDataFormat.class),
                new UnionTypeValue("soapjaxb", org.apache.camel.model.dataformat.SoapJaxbDataFormat.class),
                new UnionTypeValue("string", org.apache.camel.model.dataformat.StringDataFormat.class),
                new UnionTypeValue("syslog", org.apache.camel.model.dataformat.SyslogDataFormat.class),
                new UnionTypeValue("tidyMarkup", org.apache.camel.model.dataformat.TidyMarkupDataFormat.class),
                new UnionTypeValue("xmlBeans", org.apache.camel.model.dataformat.XMLBeansDataFormat.class),
                new UnionTypeValue("xmljson", org.apache.camel.model.dataformat.XmlJsonDataFormat.class),
                new UnionTypeValue("xmlrpc", org.apache.camel.model.dataformat.XmlRpcDataFormat.class),
                new UnionTypeValue("xstream", org.apache.camel.model.dataformat.XStreamDataFormat.class),
                new UnionTypeValue("pgp", org.apache.camel.model.dataformat.PGPDataFormat.class),
                new UnionTypeValue("zip", org.apache.camel.model.dataformat.ZipDataFormat.class),
                new UnionTypeValue("zipFile", org.apache.camel.model.dataformat.ZipFileDataFormat.class),
        });

        descriptors.put(PROPERTY_REF, descRef);
        descriptors.put(PROPERTY_DATAFORMATTYPE, descDataFormatType);
    }
View Full Code Here

        super.addCustomProperties(descriptors);

        PropertyDescriptor descInheritErrorHandler = new BooleanPropertyDescriptor(PROPERTY_INHERITERRORHANDLER, Messages.propertyLabelResequenceInheritErrorHandler);
        PropertyDescriptor descExpression = new ExpressionPropertyDescriptor(PROPERTY_EXPRESSION, Messages.propertyLabelResequenceExpression);
        PropertyDescriptor descResequencerConfig = new ComplexUnionPropertyDescriptor(PROPERTY_RESEQUENCERCONFIG, Messages.propertyLabelResequenceResequencerConfig, ResequencerConfig.class, new UnionTypeValue[] {
                new UnionTypeValue("batch-config", org.apache.camel.model.config.BatchResequencerConfig.class),
                new UnionTypeValue("stream-config", org.apache.camel.model.config.StreamResequencerConfig.class),
        });

        descriptors.put(PROPERTY_INHERITERRORHANDLER, descInheritErrorHandler);
        descriptors.put(PROPERTY_EXPRESSION, descExpression);
        descriptors.put(PROPERTY_RESEQUENCERCONFIG, descResequencerConfig);
View Full Code Here

    protected void addCustomProperties(Map<String, PropertyDescriptor> descriptors) {
        super.addCustomProperties(descriptors);

        PropertyDescriptor descRef = new TextPropertyDescriptor(PROPERTY_REF, Messages.propertyLabelMarshalRef);
        PropertyDescriptor descDataFormatType = new ComplexUnionPropertyDescriptor(PROPERTY_DATAFORMATTYPE, Messages.propertyLabelMarshalDataFormatType, DataFormatDefinition.class, new UnionTypeValue[] {
                new UnionTypeValue("avro", org.apache.camel.model.dataformat.AvroDataFormat.class),
                new UnionTypeValue("base64", org.apache.camel.model.dataformat.Base64DataFormat.class),
                new UnionTypeValue("beanio", org.apache.camel.model.dataformat.BeanioDataFormat.class),
                new UnionTypeValue("bindy", org.apache.camel.model.dataformat.BindyDataFormat.class),
                new UnionTypeValue("castor", org.apache.camel.model.dataformat.CastorDataFormat.class),
                new UnionTypeValue("crypto", org.apache.camel.model.dataformat.CryptoDataFormat.class),
                new UnionTypeValue("csv", org.apache.camel.model.dataformat.CsvDataFormat.class),
                new UnionTypeValue("custom", org.apache.camel.model.dataformat.CustomDataFormat.class),
                new UnionTypeValue("flatpack", org.apache.camel.model.dataformat.FlatpackDataFormat.class),
                new UnionTypeValue("gzip", org.apache.camel.model.dataformat.GzipDataFormat.class),
                new UnionTypeValue("hl7", org.apache.camel.model.dataformat.HL7DataFormat.class),
                new UnionTypeValue("jaxb", org.apache.camel.model.dataformat.JaxbDataFormat.class),
                new UnionTypeValue("jibx", org.apache.camel.model.dataformat.JibxDataFormat.class),
                new UnionTypeValue("json", org.apache.camel.model.dataformat.JsonDataFormat.class),
                new UnionTypeValue("protobuf", org.apache.camel.model.dataformat.ProtobufDataFormat.class),
                new UnionTypeValue("rss", org.apache.camel.model.dataformat.RssDataFormat.class),
                new UnionTypeValue("secureXML", org.apache.camel.model.dataformat.XMLSecurityDataFormat.class),
                new UnionTypeValue("serialization", org.apache.camel.model.dataformat.SerializationDataFormat.class),
                new UnionTypeValue("soapjaxb", org.apache.camel.model.dataformat.SoapJaxbDataFormat.class),
                new UnionTypeValue("string", org.apache.camel.model.dataformat.StringDataFormat.class),
                new UnionTypeValue("syslog", org.apache.camel.model.dataformat.SyslogDataFormat.class),
                new UnionTypeValue("tidyMarkup", org.apache.camel.model.dataformat.TidyMarkupDataFormat.class),
                new UnionTypeValue("xmlBeans", org.apache.camel.model.dataformat.XMLBeansDataFormat.class),
                new UnionTypeValue("xmljson", org.apache.camel.model.dataformat.XmlJsonDataFormat.class),
                new UnionTypeValue("xmlrpc", org.apache.camel.model.dataformat.XmlRpcDataFormat.class),
                new UnionTypeValue("xstream", org.apache.camel.model.dataformat.XStreamDataFormat.class),
                new UnionTypeValue("pgp", org.apache.camel.model.dataformat.PGPDataFormat.class),
                new UnionTypeValue("zip", org.apache.camel.model.dataformat.ZipDataFormat.class),
                new UnionTypeValue("zipFile", org.apache.camel.model.dataformat.ZipFileDataFormat.class),
        });

        descriptors.put(PROPERTY_REF, descRef);
        descriptors.put(PROPERTY_DATAFORMATTYPE, descDataFormatType);
    }
View Full Code Here

TOP

Related Classes of org.fusesource.ide.commons.properties.UnionTypeValue

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.