Methods

Name Returns Notes Example
cancel ( asyncJob ) void
findJobs ( fromDate, toDate ) List
job ( jobId ) AsyncJob
findSchedules ( ) List
findJobByTaskName ( taskName ) AsyncJob
findJobsByTaskName ( taskName ) List
findJobsByTaskName ( taskName, start, finish, props ) List
findJobsByProfile ( runProfile, taskName ) List
findJobsByProfile ( runProfile, taskName, start, finish, props ) List
runExport ( taskName, e ) long
restart ( j ) void Restart a job. Note this should normally not be used, because the processor has an explicit check to prevent jobs being run twice
findDescription ( j ) String
runAsNew ( j ) AsyncJob Copy the given job to a new one (although without a parent, if there is one), and make it ready for execution
countOfIncompleteTasks ( ) long The number of incomplete (so queued or running) tasks across the entire platform
countOfIncompleteRootTasks ( ) long The number of incomplete (so queued or running) root tasks across the entire platform
listAuditItems ( j, props ) List Find the AuditItems which were generated by this job
listJobLogs ( job ) List
listJobLogs ( job, level ) List
newAsyncTask ( appId, description, jsFunction, params, branch, runBy, runAs ) AsyncJob
newMapReduceTask ( appId, mapFn, reduceFn, params, branch, runBy, runAs ) AsyncJob
newMapReduceTask ( appId, mapFn, reduceFn, params, appHash, runBy, runAs ) AsyncJob
To get full access to the Kademi Hub existing customers can login here, or new customers can register here.