Examples of excluded()


Examples of com.alibaba.dubbo.config.support.Parameter.excluded()

                        && ! "getClass".equals(name)
                        && Modifier.isPublic(method.getModifiers())
                        && method.getParameterTypes().length == 0
                        && isPrimitive(method.getReturnType())) {
                    Parameter parameter = method.getAnnotation(Parameter.class);
                    if (method.getReturnType() == Object.class || parameter != null && parameter.excluded()) {
                        continue;
                    }
                    int i = name.startsWith("get") ? 3 : 2;
                    String prop = StringUtils.camelToSplitName(name.substring(i, i + 1).toLowerCase() + name.substring(i + 1), ".");
                    String key;
View Full Code Here

Examples of com.alibaba.dubbo.config.support.Parameter.excluded()

                        && ! "getClass".equals(name)
                        && Modifier.isPublic(method.getModifiers())
                        && method.getParameterTypes().length == 0
                        && isPrimitive(method.getReturnType())) {
                    Parameter parameter = method.getAnnotation(Parameter.class);
                    if (method.getReturnType() == Object.class || parameter != null && parameter.excluded()) {
                        continue;
                    }
                    int i = name.startsWith("get") ? 3 : 2;
                    String prop = StringUtils.camelToSplitName(name.substring(i, i + 1).toLowerCase() + name.substring(i + 1), ".");
                    String key;
View Full Code Here

Examples of com.alibaba.dubbo.config.support.Parameter.excluded()

                        && ! "getClass".equals(name)
                        && Modifier.isPublic(method.getModifiers())
                        && method.getParameterTypes().length == 0
                        && isPrimitive(method.getReturnType())) {
                    Parameter parameter = method.getAnnotation(Parameter.class);
                    if (method.getReturnType() == Object.class || parameter != null && parameter.excluded()) {
                        continue;
                    }
                    int i = name.startsWith("get") ? 3 : 2;
                    String prop = StringUtils.camelToSplitName(name.substring(i, i + 1).toLowerCase() + name.substring(i + 1), ".");
                    String key;
View Full Code Here

Examples of de.danielbechler.diff.introspection.ObjectDiffProperty.excluded()

    {
      if (propertyAnnotation.inclusion() == INCLUDED || propertyAnnotation.inclusion() == EXCLUDED)
      {
        return propertyAnnotation.inclusion();
      }
      else if (propertyAnnotation.excluded())
      {
        return EXCLUDED;
      }
    }
    else if (hasIncludedSibling(node))
View Full Code Here

Examples of org.apache.stratos.messaging.message.filter.MessageFilter.excluded()

    public final void testFilterExcluded() {
        String filterName = "filter2";
        String validationError = "MessageFilter.excluded() method failed";
        System.setProperty(filterName,  "property1=value1,value2 | property2=value3,value4");
        MessageFilter messageFilter = new MessageFilter(filterName);
        Assert.assertFalse(validationError, messageFilter.excluded("property1", "value1"));
        Assert.assertFalse(validationError, messageFilter.excluded("property1", "value2"));
        Assert.assertFalse(validationError, messageFilter.excluded("property2", "value3"));
        Assert.assertFalse(validationError, messageFilter.excluded("property2", "value4"));
        System.setProperty(filterName, "");
    }
View Full Code Here

Examples of org.apache.stratos.messaging.message.filter.MessageFilter.excluded()

        String filterName = "filter2";
        String validationError = "MessageFilter.excluded() method failed";
        System.setProperty(filterName,  "property1=value1,value2 | property2=value3,value4");
        MessageFilter messageFilter = new MessageFilter(filterName);
        Assert.assertFalse(validationError, messageFilter.excluded("property1", "value1"));
        Assert.assertFalse(validationError, messageFilter.excluded("property1", "value2"));
        Assert.assertFalse(validationError, messageFilter.excluded("property2", "value3"));
        Assert.assertFalse(validationError, messageFilter.excluded("property2", "value4"));
        System.setProperty(filterName, "");
    }
View Full Code Here

Examples of org.apache.stratos.messaging.message.filter.MessageFilter.excluded()

        String validationError = "MessageFilter.excluded() method failed";
        System.setProperty(filterName,  "property1=value1,value2 | property2=value3,value4");
        MessageFilter messageFilter = new MessageFilter(filterName);
        Assert.assertFalse(validationError, messageFilter.excluded("property1", "value1"));
        Assert.assertFalse(validationError, messageFilter.excluded("property1", "value2"));
        Assert.assertFalse(validationError, messageFilter.excluded("property2", "value3"));
        Assert.assertFalse(validationError, messageFilter.excluded("property2", "value4"));
        System.setProperty(filterName, "");
    }

    @Test
View Full Code Here

Examples of org.apache.stratos.messaging.message.filter.MessageFilter.excluded()

        System.setProperty(filterName,  "property1=value1,value2 | property2=value3,value4");
        MessageFilter messageFilter = new MessageFilter(filterName);
        Assert.assertFalse(validationError, messageFilter.excluded("property1", "value1"));
        Assert.assertFalse(validationError, messageFilter.excluded("property1", "value2"));
        Assert.assertFalse(validationError, messageFilter.excluded("property2", "value3"));
        Assert.assertFalse(validationError, messageFilter.excluded("property2", "value4"));
        System.setProperty(filterName, "");
    }

    @Test
    public final void testFilterGetAllPropertyValues() {
View Full Code Here

Examples of org.broadleafcommerce.common.presentation.AdminPresentation.excluded()

        AdminPresentationOverride override = presentationOverrides.get(propertyName);
        if (override != null) {
            AdminPresentation annot = override.value();
            if (annot != null) {
                String testKey = prefix + key;
                if ((testKey.startsWith(propertyName + ".") || testKey.equals(propertyName)) && annot.excluded()) {
                    FieldMetadata metadata = mergedProperties.get(key);
                    if (LOG.isDebugEnabled()) {
                        LOG.debug("buildAdminPresentationOverride:Excluding " + key + "because an override annotation declared "+ testKey + " to be excluded");
                    }
                    metadata.setExcluded(true);
View Full Code Here

Examples of org.broadleafcommerce.common.presentation.AdminPresentationAdornedTargetCollection.excluded()

        AdminPresentationAdornedTargetCollectionOverride override = presentationAdornedTargetCollectionOverrides.get(propertyName);
        if (override != null) {
            AdminPresentationAdornedTargetCollection annot = override.value();
            if (annot != null) {
                String testKey = prefix + key;
                if ((testKey.startsWith(propertyName + ".") || testKey.equals(propertyName)) && annot.excluded()) {
                    FieldMetadata metadata = mergedProperties.get(key);
                    if (LOG.isDebugEnabled()) {
                        LOG.debug("buildAdminPresentationAdornedTargetCollectionOverride:Excluding " + key + "because an override annotation declared " + testKey + "to be excluded");
                    }
                    metadata.setExcluded(true);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.