Ejemplo n.º 1
0
  /** Notify the ContainerStepListeners that the Step has completed */
  private void notifyStepFinished() {
    BatchStepFileDescriptor resultFile = batchContainerDirectory.getResultFile(batchStepFile);
    resultFile.setCompletedDate(dateTimeService.getCurrentDate());
    resultFile.setStepIndex(new Integer(stepIndex));

    String shortLogFileName = getShortLogFileName();

    for (ContainerStepListener listener : this.containerStepListeners) {
      listener.stepFinished(resultFile, shortLogFileName);
    }
  }