Job operations - script to Java migration

The migration tables list the script operations that map to Job Java™ API methods.

Job Manager

These script operations can be mapped to the following Job Manager Java API methods.
Table 1. Script operations that map to the Job Manager Java API methods
Script operation Java method
runJob createSchedule(Job)
String createImport(
String sImportName,
String sImportType,
String sSourceName,
String sFileSpecName,
String sCatalogName,
String sSpecMapName,
String sCategoryTreeName,
String sScriptName,
String sACGName
[, HashMap optionalArgs])
createCategoryImport
String createImport(…) createItemImport
String createExport(
String marketSpecName,
String catalogName,
String specMapName,
String exportScriptName,
String syndicationName
[, HashMap optionalArgs])
createExport
new Report(String reportName, String reportScriptName, Distribution dist)
createReport (String reportName,
Document reportScript, ScriptInputSpec
getReportByName(String reportName) getReport(String name)

Schedule

These script operations can be mapped to the following Schedule Java API methods.
Table 2. Script operations that map to the Schedule Java API methods
Script operation Java method
queryJobStatus getLatestCompletedStatus()
queryJobCompletionPercentage getLatestRunCompletionPercentage()
stopJob stop()