Examples of Dependency


Examples of am.ik.tools.pom_cleaner.jaxb.Dependency

                try {
                    int c = 0;

                    // first
                    if (o1 instanceof Dependency) {
                        Dependency d1 = (Dependency) o1;
                        Dependency d2 = (Dependency) o2;
                        String s1 = d1.getScope();
                        String s2 = d2.getScope();
                        if (s1 == null || "".equals(s1)) {
                            s1 = "compile";
                        }
                        if (s2 == null || "".equals(s2)) {
                            s2 = "compile";
View Full Code Here

Examples of anvil.script.Dependency

      int n = imports.length;
      for(int i=0; i<n; ) {
        String pathinfo = imports[i++];
        String descriptor = imports[i++];
        Address imported = getAddress().resolve(pathinfo);
        _dependencies.put(imported, new Dependency(imported, descriptor, _location));
      }
     
      Field field;
     
      field = scriptclass.getDeclaredField("_module");
View Full Code Here

Examples of anvil.script.Dependency

  public void addDependency(Import imprt)
  {
    Address addr = imprt.getAddress();
    if (addr != null) {
      _dependencies.put(addr, new Dependency(addr, null, imprt.getLocation()));
    }
  }
View Full Code Here

Examples of anvil.script.Dependency

    Field field = clazz.createField("_imports", "[Ljava/lang/String;", Code.ACC_PUBLIC|Code.ACC_STATIC);
    code.iconst(_dependencies.size()*2);
    code.anewarray("java/lang/String");
    Iterator iter = _dependencies.values().iterator();
    for(int i=0; iter.hasNext(); ) {
      Dependency dep = (Dependency)iter.next();
      code.dup();
      code.iconst(i++);
      code.astring(dep.getPathinfo());
      code.aastore();
      code.dup();
      code.iconst(i++);
      code.astring(dep.getDescriptor());
      code.aastore();
    }
    code.putstatic(field);

  }
View Full Code Here

Examples of azkaban.workflow.flow.Dependency

  public List<Dependency> getDependencies() {
    ArrayList<Dependency> dependency = new ArrayList<Dependency>();
   
    for (FlowNode node: flowItems.values()) {
      for (String dependents : node.getDependents() ) {
        dependency.add(new Dependency(node, flowItems.get(dependents)));
      }
    }
   
    return dependency;
  }
View Full Code Here

Examples of com.caucho.vfs.Dependency

   * true if the webApp has been modified.
   */
  @Override
  public boolean isModified()
  {
    Dependency depend = _dependency;

    if (depend != null && depend.isModified()) {
      return true;
    }

    WebApp webApp = _webApp;

    if (webApp != null) {
      depend = webApp.getInvocationDependency();

      if (depend != null)
        return depend.isModified();
    }

    return true;
  }
View Full Code Here

Examples of com.caucho.vfs.Dependency

  /**
   * Log the reason for modification.
   */
  public boolean logModified(Logger log)
  {
    Dependency depend = _dependency;

    if (depend != null && depend.logModified(log))
      return true;

    WebApp app = _webApp;

    if (app != null) {
      depend = app.getInvocationDependency();

      if (depend != null)
        return depend.logModified(log);
    }

    return true;
  }
View Full Code Here

Examples of com.dianping.cat.consumer.dependency.model.entity.Dependency

  private void updateDependencyInfo(DependencyReport report, Transaction t, String target, String type) {
    long current = t.getTimestamp() / 1000 / 60;
    int min = (int) (current % (60));
    Segment segment = report.findOrCreateSegment(min);
    Dependency dependency = segment.findOrCreateDependency(type + ":" + target);

    dependency.setType(type);
    dependency.setTarget(target);

    if (!t.getStatus().equals(Transaction.SUCCESS)) {
      dependency.incErrorCount();
    }
    dependency.incTotalCount();
    dependency.setSum(dependency.getSum() + t.getDurationInMillis());
    dependency.setAvg(dependency.getSum() / dependency.getTotalCount());
  }
View Full Code Here

Examples of com.google.gwt.inject.rebind.binding.Dependency

        .test();
  }

  private PositionerExpectationsBuilder testTree() {
    return new PositionerExpectationsBuilder(grandchild)
        .addEdge(new Dependency(foo(), bar(), SOURCE))
        .addEdge(new Dependency(foo(), baz(), SOURCE));
  }
View Full Code Here

Examples of com.google.inject.spi.Dependency

      if (isEagerSingleton(injector, binding, stage)) {
        try {
          injector.callInContext(new ContextualCallable<Void>() {
            Dependency<?> dependency = Dependency.get(binding.getKey());
            public Void call(InternalContext context) {
              Dependency previous = context.setDependency(dependency);
              Errors errorsForBinding = errors.withSource(dependency);
              try {
                binding.getInternalFactory().get(errorsForBinding, context, dependency);
              } catch (ErrorsException e) {
                errorsForBinding.merge(e.getErrors());
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.