Examples of StepType


Examples of com.celum.dbtool.step.StepType

    /**
     * execute step via concrete executor
     */
    private void executeViaExecutor(DbStep step)
    {
        StepType type = step.getType();
        for (Executor executor : executors) {
            if (executor.getType() == type) {
                executor.execute(step);
                return;
            }
        }
        throw new DbException("Unsupported type:" + type.toString() + ". No Executor for this type.");
    }
View Full Code Here

Examples of com.celum.dbtool.step.StepType

    /**
     * execute step via concrete executor
     */
    private void executeViaExecutor(DbStep step)
    {
        StepType type = step.getType();
        for (Executor executor : executors) {
            if (executor.getType() == type) {
                executor.execute(step);
                return;
            }
        }
        throw new DbException("Unsupported type:" + type.toString() + ". No Executor for this type.");
    }
View Full Code Here

Examples of com.volantis.mcs.migrate.api.framework.StepType

            StreamBuffer buffer = null;
            InputStream stepInput;
            OutputStream stepOutput;

            // Type of validation to be performed by each step
            StepType stepType = null;

            while (steps.hasNext()) {
                final Step step = (Step) steps.next();

                if (logger.isDebugEnabled()) {
View Full Code Here

Examples of fr.soleil.bossanova.model.StepType

  @Override
  public void setValueAt(Object value, int row, int column) {
    if (value != null) {
      super.setValueAt(value, row, column);
      String newStepName = (String) getValueAt(row, STEP_COLUMN);
      StepType stepType = RepositoryManager.getStepTypeFor(newStepName);
      switch (column) {
      case INDEX_COLUMN:
        break;
      case STEP_COLUMN:
        sequencer.modifyTypeAndNameForStepAt(row, newStepName, stepType);
View Full Code Here

Examples of fr.soleil.bossanova.model.StepType

    public static SequenceRepository getSequenceRepository() {
        return sequenceRepository;
    }

    public static StepType getStepTypeFor(String elementName) {
        StepType result = null;
        if (actorRepository.getActorClassForName(elementName) != null) {
            result = StepType.ACTOR;
        }
        if (sequenceRepository.getSequenceForName(elementName) != null) {
            result = StepType.SEQUENCE;
View Full Code Here

Examples of fr.soleil.bossanova.model.StepType

    public static SequenceRepository getSequenceRepository() {
        return sequenceRepository;
    }

    public static StepType getStepTypeFor(String elementName) {
        StepType result = null;
        if (actorRepository.getActorClassForName(elementName) != null) {
            result = StepType.ACTOR;
        }
        if (sequenceRepository.getSequenceForName(elementName) != null) {
            result = StepType.SEQUENCE;
View Full Code Here

Examples of org.apache.hadoop.hdfs.server.namenode.startupprogress.StepType

      }
      long size = step.getSize();
      if (size != Long.MIN_VALUE) {
        stepLine.append(" (").append(StringUtils.byteDesc(size)).append(")");
      }
      StepType type = step.getType();
      if (type != null) {
        stepLine.append(" ").append(type.getDescription());
      }

      fout.println("<td class=\"startupdesc\">%s (%d/%d)</td>",
        stepLine.toString(), view.getCount(phase, step),
        view.getTotal(phase, step));
View Full Code Here

Examples of org.apache.hadoop.hdfs.server.namenode.startupprogress.StepType

      }
      long size = step.getSize();
      if (size != Long.MIN_VALUE) {
        stepLine.append(" (").append(StringUtils.byteDesc(size)).append(")");
      }
      StepType type = step.getType();
      if (type != null) {
        stepLine.append(" ").append(type.getDescription());
      }

      fout.println("<td class=\"startupdesc\">%s (%d/%d)</td>",
        stepLine.toString(), view.getCount(phase, step),
        view.getTotal(phase, step));
View Full Code Here

Examples of org.apache.hadoop.hdfs.server.namenode.startupprogress.StepType

        writeNumberFieldIfDefined(json, SIZE, view.getSize(phase));
        json.writeArrayFieldStart(STEPS);

        for (Step step: view.getSteps(phase)) {
          json.writeStartObject();
          StepType type = step.getType();
          String name = type != null ? type.getName() : null;
          writeStringFieldIfNotNull(json, NAME, name);
          json.writeNumberField(COUNT, view.getCount(phase, step));
          writeStringFieldIfNotNull(json, FILE, step.getFile());
          writeNumberFieldIfDefined(json, SIZE, step.getSize());
          json.writeNumberField(TOTAL, view.getTotal(phase, step));
View Full Code Here

Examples of org.apache.hadoop.hdfs.server.namenode.startupprogress.StepType

      }
      long size = step.getSize();
      if (size != Long.MIN_VALUE) {
        stepLine.append(" (").append(StringUtils.byteDesc(size)).append(")");
      }
      StepType type = step.getType();
      if (type != null) {
        stepLine.append(" ").append(type.getDescription());
      }

      fout.println("<td class=\"startupdesc\">%s (%d/%d)</td>",
        stepLine.toString(), view.getCount(phase, step),
        view.getTotal(phase, step));
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.