public interface JobParametersConverter
JobParameters
instances. A job can be executed with
many possible runtime parameters, which identify the instance of the job.
This converter allows job parameters to be converted to and from Properties.JobParametersBuilder
Modifier and Type | Method and Description |
---|---|
JobParameters |
getJobParameters(Properties properties)
Get a new
JobParameters instance. |
Properties |
getProperties(JobParameters params)
The inverse operation: get a
Properties instance. |
JobParameters getJobParameters(Properties properties)
JobParameters
instance. If given null, or an empty
properties, an empty JobParameters will be returned.properties
- the runtime parameters in the form of String literals.JobParameters
properties converted to the correct
types.Properties getProperties(JobParameters params)
Properties
instance. If given null
or empty JobParameters, an empty Properties should be returned.params
- Copyright © 2014 Pivotal. All rights reserved.