Package org.platformlayer.ops.tasks

Examples of org.platformlayer.ops.tasks.ActiveJobExecution


    }
  }

  @Override
  public JobLog getActiveJobLog(PlatformLayerKey jobKey, String executionId) {
    ActiveJobExecution activeJobExecution = activeJobs.get(jobKey);
    if (activeJobExecution != null) {
      SimpleJobLogger logger = (SimpleJobLogger) activeJobExecution.getLogger();
      JobLog log = new JobLog();
      log.lines = Lists.newArrayList(logger.getLogEntries());
      log.execution = activeJobExecution.getJobExecution();
      return log;
    }

    return null;
  }
View Full Code Here

TOP

Related Classes of org.platformlayer.ops.tasks.ActiveJobExecution

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.