Example usage for org.springframework.batch.core JobExecution getJobInstance

List of usage examples for org.springframework.batch.core JobExecution getJobInstance

Introduction

In this page you can find the example usage for org.springframework.batch.core JobExecution getJobInstance.

Prototype

public JobInstance getJobInstance() 

Source Link

Usage

From source file:uk.ac.bbsrc.tgac.miso.notification.service.IlluminaTransformer.java

public Set<String> runCompletedJobToStringSet(JobExecution exec) {
    Set<String> runNames = new HashSet<String>();
    for (Map.Entry<String, JobParameter> params : exec.getJobInstance().getJobParameters().getParameters()
            .entrySet()) {//from   w  w  w  . j  a va 2 s . co  m
        runNames.add(params.getKey());
    }
    return runNames;
}