Tabnine Logo
Sorter.getDependencyStackTrace
Code IndexAdd Tabnine to your IDE (free)

How to use
getDependencyStackTrace
method
in
org.milyn.delivery.ordering.Sorter

Best Java code snippets using org.milyn.delivery.ordering.Sorter.getDependencyStackTrace (Showing top 4 results out of 315)

origin: org.virtuslab/milyn-smooks-core

private static void assertNo2WayDependencies(DependencySpec spec, List<DependencySpec> dependancySpecs, Stack<DependencySpec> dependencyStack) {
  for(DependencySpec dependancy : dependancySpecs) {
    dependencyStack.push(dependancy);
    if(dependancy.isDependant(spec)) {
      dependencyStack.push(spec);
      throw new SmooksConfigurationException("Invalid 2-Way/Circular Visitor Producer/Consumer dependency detected in configuration.\n" + getDependencyStackTrace(dependencyStack));
    }
    // Recurse down ...
    assertNo2WayDependencies(spec, dependancy.dependants, dependencyStack);
    dependencyStack.pop();
  }
}
origin: org.milyn/milyn-smooks-all

@SuppressWarnings("unchecked")
private static void assertNo2WayDependencies(DependencySpec spec, List<DependencySpec> dependancySpecs, Stack<DependencySpec> dependencyStack) {
  for(DependencySpec dependancy : dependancySpecs) {
    dependencyStack.push(dependancy);
    if(dependancy.isDependant(spec)) {
      dependencyStack.push(spec);
      throw new SmooksConfigurationException("Invalid 2-Way/Circular Visitor Producer/Consumer dependency detected in configuration.\n" + getDependencyStackTrace(dependencyStack));
    }
    // Recurse down ...
    assertNo2WayDependencies(spec, dependancy.dependants, dependencyStack);
    dependencyStack.pop();
  }
}
origin: smooks/smooks

@SuppressWarnings("unchecked")
private static void assertNo2WayDependencies(DependencySpec spec, List<DependencySpec> dependancySpecs, Stack<DependencySpec> dependencyStack) {
  for(DependencySpec dependancy : dependancySpecs) {
    dependencyStack.push(dependancy);
    if(dependancy.isDependant(spec)) {
      dependencyStack.push(spec);
      throw new SmooksConfigurationException("Invalid 2-Way/Circular Visitor Producer/Consumer dependency detected in configuration.\n" + getDependencyStackTrace(dependencyStack));
    }
    // Recurse down ...
    assertNo2WayDependencies(spec, dependancy.dependants, dependencyStack);
    dependencyStack.pop();
  }
}
origin: org.milyn/milyn-smooks-core

@SuppressWarnings("unchecked")
private static void assertNo2WayDependencies(DependencySpec spec, List<DependencySpec> dependancySpecs, Stack<DependencySpec> dependencyStack) {
  for(DependencySpec dependancy : dependancySpecs) {
    dependencyStack.push(dependancy);
    if(dependancy.isDependant(spec)) {
      dependencyStack.push(spec);
      throw new SmooksConfigurationException("Invalid 2-Way/Circular Visitor Producer/Consumer dependency detected in configuration.\n" + getDependencyStackTrace(dependencyStack));
    }
    // Recurse down ...
    assertNo2WayDependencies(spec, dependancy.dependants, dependencyStack);
    dependencyStack.pop();
  }
}
org.milyn.delivery.orderingSortergetDependencyStackTrace

Popular methods of Sorter

  • appendTabs
  • applySort
  • assertNo2WayDependencies
  • buildDependencyMap
  • remapList
  • sort
  • sortDependancyMap

Popular in Java

  • Making http post requests using okhttp
  • startActivity (Activity)
  • findViewById (Activity)
  • getSystemService (Context)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • JPanel (javax.swing)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now