Examples of DependencyType


Examples of org.apache.geronimo.system.plugin.model.DependencyType

     * @param deps   A list with elements of type String (holding a module ID / Artifact name)
     * @param includeVersion whether to include a version in the plugin xml dependency
     */
    private static void processDependencyList(List<Dependency> real, List<DependencyType> deps, boolean includeVersion) {
        for (Dependency dep : real) {
            DependencyType dependency = toDependencyType(dep, includeVersion);
            if (!deps.contains(dependency)) {
                deps.add(dependency);
            }
        }
    }
View Full Code Here

Examples of org.apache.geronimo.system.plugin.model.DependencyType

        }
    }

    public static DependencyType toDependencyType(Dependency dep, boolean includeVersion) {
        Artifact id = dep.getArtifact();
        DependencyType dependency = new DependencyType();
        dependency.setGroupId(id.getGroupId());
        dependency.setArtifactId(id.getArtifactId());
        if (includeVersion) {
            dependency.setVersion(id.getVersion() == null ? null : id.getVersion().toString());
        }
        dependency.setType(id.getType());
        return dependency;
    }
View Full Code Here

Examples of org.apache.geronimo.xml.ns.deployment_1.DependencyType

    EnvironmentType env = serviceFactory.createEnvironmentType();
    env.setModuleId(artifact);

    if (cfg != null && cfg.isSharedLib()) {
      DependenciesType dt = serviceFactory.createDependenciesType();
      DependencyType sharedLib = createDependency("org.apache.geronimo.configs", "sharedlib", null, "car");
      dt.getDependency().add(sharedLib);
      env.setDependencies(dt);
    }

         Trace.tracePoint("Exit ", "V11DeploymentPlanCreationOperation.getConfigEnvironment", env);
View Full Code Here

Examples of org.apache.hadoop.hive.ql.hooks.LineageInfo.DependencyType

      Operator<? extends Serializable> inpOp = getParent(stack);

      // Create a single dependency list by concatenating the dependencies of all
      // the cols
      Dependency dep = new Dependency();
      DependencyType new_type = LineageInfo.DependencyType.SCRIPT;
      dep.setType(LineageInfo.DependencyType.SCRIPT);
      // TODO: Fix this to a non null value.
      dep.setExpr(null);

      LinkedHashSet<BaseColumnInfo> col_set = new LinkedHashSet<BaseColumnInfo>();
View Full Code Here

Examples of org.zkoss.ganttz.data.DependencyType

                Set<T> in = removeChildrenAndParents(task, graph
                        .getIncomingTasksFor(task));
                for (T t : in) {
                    IDependency<T> dependency = graph
                            .getDependencyFrom(t, task);
                    DependencyType type = DependencyType.END_START;
                    if (dependency != null) {
                        type = dependency.getType();
                    }
                    addDepedenciesAndRelatedTasks(result,
                            removeContainers(Arrays.asList(t)), allChildren,
                            type);
                }

                Set<T> out = removeChildrenAndParents(task, graph
                        .getOutgoingTasksFor(task));
                for (T t : out) {
                    IDependency<T> dependency = graph
                            .getDependencyFrom(task, t);
                    DependencyType type = DependencyType.END_START;
                    if (dependency != null) {
                        type = dependency.getType();
                    }
                    addDepedenciesAndRelatedTasks(result, allChildren,
                            removeContainers(Arrays.asList(t)), type);
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.