org.kuali.kfs.sys.service
Interface BatchModuleService

All Known Implementing Classes:
KcKfsModuleServiceImpl, KfsModuleServiceImpl, UnimplementedKfsModuleServiceImpl

public interface BatchModuleService

This class defines methods needed for batch to run successfully when there are dependencies on jobs that are run on external systems. Implementations of this interface are able to keep track of external job status and report it to the scheduler service.


Method Summary
 String getExternalJobStatus(String jobName)
          This method returns the status of the given external job.
 boolean isExternalJob(String jobName)
          This method returns whether a job is run on an external system.
 

Method Detail

isExternalJob

boolean isExternalJob(String jobName)
This method returns whether a job is run on an external system.

Parameters:
jobName - a job name, such that calling #isResponsibleForJob(String) with this job name would return true
Returns:
whether this job runs from an external system

getExternalJobStatus

String getExternalJobStatus(String jobName)
This method returns the status of the given external job.

Parameters:
jobName - a job name, such that calling #isResponsibleForJob(String) with this job name would return true
Returns:
one of the status code constants defined in SchedulerService


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.