OPEN - issue BATCH-304: BatchCommandLineLauncher simplified and rename

http://jira.springframework.org/browse/BATCH-304

Add unit test for factory.
This commit is contained in:
dsyer
2008-01-24 09:54:24 +00:00
parent 1c2e5d6339
commit e749bb93a0
3 changed files with 106 additions and 12 deletions

View File

@@ -43,4 +43,12 @@ public interface JobParametersFactory {
* @return a {@link JobParameters} properties converted to the correct types.
*/
public JobParameters getJobParameters(Properties properties);
/**
* The inverse operation: get a {@link Properties} instance.
*
* @param params
* @return a representation of the parameters as properties
*/
public Properties getProperties(JobParameters params);
}