Package org.eobjects.analyzer.job

Examples of org.eobjects.analyzer.job.AnalyzerJob


    } else {
      label.append(jobName);
    }

    if (job instanceof AnalyzerJob) {
      AnalyzerJob analyzerJob = (AnalyzerJob) job;
      if (!StringUtils.isNullOrEmpty(jobName)) {
        label.append(" (");
        label.append(analyzerJob.getDescriptor().getDisplayName());
        label.append(')');
      }

      final InputColumn<?>[] input = analyzerJob.getInput();
      if (input.length > 0) {
        label.append(" (");
        if (input.length < 5) {
          for (int i = 0; i < input.length; i++) {
            if (i != 0) {
              label.append(',');
            }
            label.append(input[i].getName());
          }
        } else {
          label.append(input.length);
          label.append(" columns");
        }
        label.append(")");
      }

      final Outcome[] requirements = analyzerJob.getRequirements();
      if (requirements != null && requirements.length != 0) {
        label.append(" (");
        for (int i = 0; i < requirements.length; i++) {
          if (i != 0) {
            label.append(" ,");
View Full Code Here

TOP

Related Classes of org.eobjects.analyzer.job.AnalyzerJob

Copyright © 2018 www.massapicom. 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.