Examples of Exclude


Examples of com.k42b3.kadabra.record.Exclude

  public void addExclude(int projectId, String pattern)
  {
    try
    {
      Exclude exclude = new Exclude();

      exclude.setProjectId(projectId);
      exclude.setPattern(pattern);

      exclude.insert();

      console.printf("Add exclude successful%n");
    }
    catch(Exception e)
    {
View Full Code Here

Examples of com.k42b3.kadabra.record.Exclude

  public void deleteExclude(int excludeId)
  {
    try
    {
      Exclude exclude = Exclude.getExcludeById(excludeId);

      exclude.delete();

      console.printf("Delete exclude " + excludeId + " successful%n");
    }
    catch(Exception e)
    {
View Full Code Here

Examples of org.apache.deltaspike.core.api.exclude.Exclude

        //TODO needs further discussions for a different feature CodiStartupBroadcaster.broadcastStartup();

        //also forces deterministic project-stage initialization
        ProjectStage projectStage = ProjectStageProducer.getInstance().getProjectStage();

        Exclude exclude = extractExcludeAnnotation(processAnnotatedType.getAnnotatedType().getJavaClass());

        if (exclude == null)
        {
            return;
        }
View Full Code Here

Examples of org.apache.deltaspike.core.api.exclude.Exclude

    //only support the physical usage and inheritance if @Exclude comes from an abstract class
    //TODO re-visit the impact of java.lang.annotation.Inherited (for @Exclude) for the available use-cases
    protected Exclude extractExcludeAnnotation(Class<?> currentClass)
    {
        Exclude result = currentClass.getAnnotation(Exclude.class);

        if (result != null)
        {
            return result;
        }
View Full Code Here

Examples of org.apache.deltaspike.core.api.exclude.Exclude

        if (!processAnnotatedType.getAnnotatedType().getJavaClass().isAnnotationPresent(Exclude.class))
        {
            return;
        }

        Exclude exclude = (Exclude) processAnnotatedType.getAnnotatedType().getJavaClass().getAnnotation(Exclude.class);

        if (!evalExcludeWithoutCondition(processAnnotatedType, exclude))
        {
            return; //veto called already
        }
View Full Code Here

Examples of org.apache.deltaspike.core.api.exclude.annotation.Exclude

        if (!processAnnotatedType.getAnnotatedType().getJavaClass().isAnnotationPresent(Exclude.class))
        {
            return;
        }

        Exclude exclude = (Exclude) processAnnotatedType.getAnnotatedType().getJavaClass().getAnnotation(Exclude.class);

        if (!evalExcludeWithoutCondition(processAnnotatedType, exclude))
        {
            return; //veto called already
        }
View Full Code Here

Examples of org.exolab.castor.builder.binding.xml.Exclude

       
        ExtendedBinding binding = component.getBinding();
        if (binding != null) {
            // deal with explicit exclusions
            if (binding.existsExclusion(typedLocalName)) {
                Exclude exclusion = binding.getExclusion(typedLocalName);
                if (exclusion.getClassName() != null) {
                    LOG.info("Dealing with exclusion for local element " + xPath
                            + " as per binding file.");
                    jClass.changeLocalName(exclusion.getClassName());
                }
                return;
            }

            // deal with explicit forces
View Full Code Here

Examples of org.exolab.castor.builder.binding.xml.Exclude

       
        Excludes excludesOuter = type.getExcludes();
        if (excludesOuter != null) {
            Exclude[] excludes = excludesOuter.getExclude();
            for (int i = 0; i < excludes.length; i++) {
                Exclude exclude = excludes[i];
                _automaticNameResolutionExcludes.put(exclude.getName(), exclude);
            }
        }
    }
View Full Code Here

Examples of org.grouplens.common.dto.Dto.Exclude

            // but not ones that are used as fields
            if (!f.hasModifier(Modifier.PUBLIC) || f.getDeclaredClass().isAssignableFrom(DtoContainer.class))
                return true;
           
            if (!ignoreExclude) {
                Exclude exclude = f.getAnnotation(Exclude.class);
                if (exclude != null) {
                    ExcludeType[] types = exclude.value();
                    ExcludeType skipIfPresent = (forInput ? ExcludeType.IMPORT : ExcludeType.EXPORT);
                    for (int i = 0; i < types.length; i++) {
                        if (skipIfPresent.equals(types[i]))
                            return true;
                    }
View Full Code Here

Examples of org.grouplens.common.dto.Dto.Exclude

      || f.getType().isAssignableFrom(DtoContainer.class)) {
      return true;
    }

    if (!ignoreExclude) {
      Exclude exclude = f.getAnnotation(Exclude.class);
      // if exclude is neither EXPORT nor IMPORT, the field is always skipped
      // if exclude is EXPORT then input fields are still included
      // if exclude is IMPORT then output fields are still included
      if (exclude != null) {
        ExcludeType[] types = exclude.value();
        ExcludeType skipIfPresent = (forInput ? ExcludeType.IMPORT : ExcludeType.EXPORT);
        for (int i = 0; i < types.length; i++) {
          if (skipIfPresent.equals(types[i]))
            return 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.