Example usage for org.springframework.batch.support PropertiesConverter propertiesToString

List of usage examples for org.springframework.batch.support PropertiesConverter propertiesToString

Introduction

In this page you can find the example usage for org.springframework.batch.support PropertiesConverter propertiesToString.

Prototype

public static String propertiesToString(Properties propertiesToParse) 

Source Link

Document

Convert Properties object to String.

Usage

From source file:org.springframework.batch.core.launch.support.SimpleJobOperator.java

@Override
public String getParameters(long executionId) throws NoSuchJobExecutionException {
    JobExecution jobExecution = findExecutionById(executionId);

    return PropertiesConverter
            .propertiesToString(jobParametersConverter.getProperties(jobExecution.getJobParameters()));
}