Class DefaultExternalJobSchedulerIntegrationService
- All Implemented Interfaces:
BatchService<ExternalJobSchedulerIntegrationServiceBatch>,ExternalJobSchedulerIntegrationService
This service enables you to schedule application jobs for a specified business user, to read the status and other data of an application job, and to cancel an application job.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | BC_EXT_APPJOB_MANAGEMENT |
| API Version: | 2 |
| Communication Scenario: | External Scheduler Integration (SAP_COM_0064) |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.ExternalJobSchedulerIntegrationService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingExternalJobSchedulerIntegrationService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Fetch multipleJobTemplateentities.getJobTemplateByKey(String jobTemplateName, String jobTemplateVersion) Deprecated.Fetch a singleJobTemplateentity using key fields.Deprecated.Creates a fluent helper for the JobAbort OData function import.Deprecated.Creates a fluent helper for the JobCancel OData function import.jobSchedule(String jobUserID, String jobUserName, String jobText, String jobTemplateName, String jobParameterValues, Boolean testModeInd, String jobUser) Deprecated.Creates a fluent helper for the JobSchedule OData function import.jobStatusGet(String jobName, String jobRunCount) Deprecated.Creates a fluent helper for the JobStatusGet OData function import.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultExternalJobSchedulerIntegrationService
public DefaultExternalJobSchedulerIntegrationService()Deprecated.Creates a service usingExternalJobSchedulerIntegrationService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultExternalJobSchedulerIntegrationService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:ExternalJobSchedulerIntegrationServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceExternalJobSchedulerIntegrationService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<ExternalJobSchedulerIntegrationServiceBatch>
-
getAllJobTemplate
Deprecated.Description copied from interface:ExternalJobSchedulerIntegrationServiceFetch multipleJobTemplateentities.- Specified by:
getAllJobTemplatein interfaceExternalJobSchedulerIntegrationService- Returns:
- A fluent helper to fetch multiple
JobTemplateentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getJobTemplateByKey
@Nonnull public JobTemplateByKeyFluentHelper getJobTemplateByKey(String jobTemplateName, String jobTemplateVersion) Deprecated.Description copied from interface:ExternalJobSchedulerIntegrationServiceFetch a singleJobTemplateentity using key fields.- Specified by:
getJobTemplateByKeyin interfaceExternalJobSchedulerIntegrationService- Returns:
- A fluent helper to fetch a single
JobTemplateentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
jobSchedule
@Nonnull public JobScheduleFluentHelper jobSchedule(@Nullable String jobUserID, @Nullable String jobUserName, @Nonnull String jobText, @Nonnull String jobTemplateName, @Nullable String jobParameterValues, @Nullable Boolean testModeInd, @Nullable String jobUser) Deprecated.Description copied from interface:ExternalJobSchedulerIntegrationServiceCreates a fluent helper for the JobSchedule OData function import.
- Specified by:
jobSchedulein interfaceExternalJobSchedulerIntegrationService- Parameters:
jobUserID- Constraints: Nullable, Maximum length: 40Original parameter name from the Odata EDM: JobUserID
jobUserName- Constraints: Nullable, Maximum length: 12Original parameter name from the Odata EDM: JobUserName
jobText- Constraints: Not nullable, Maximum length: 120Original parameter name from the Odata EDM: JobText
jobTemplateName- Constraints: Not nullable, Maximum length: 40Original parameter name from the Odata EDM: JobTemplateName
jobParameterValues- Constraints: NullableOriginal parameter name from the Odata EDM: JobParameterValues
testModeInd- IndicatorConstraints: Nullable
Original parameter name from the Odata EDM: TestModeInd
jobUser- Constraints: Nullable, Maximum length: 40Original parameter name from the Odata EDM: JobUser
- Returns:
- A fluent helper object that will execute the JobSchedule OData function import with the provided
parameters. To perform execution, call the
executemethod on the fluent helper object.
-
jobCancel
@Nonnull public JobCancelFluentHelper jobCancel(@Nonnull String jobRunCount, @Nonnull String jobName) Deprecated.Description copied from interface:ExternalJobSchedulerIntegrationServiceCreates a fluent helper for the JobCancel OData function import.
- Specified by:
jobCancelin interfaceExternalJobSchedulerIntegrationService- Parameters:
jobRunCount- Constraints: Not nullable, Maximum length: 14Original parameter name from the Odata EDM: JobRunCount
jobName- Constraints: Not nullable, Maximum length: 32Original parameter name from the Odata EDM: JobName
- Returns:
- A fluent helper object that will execute the JobCancel OData function import with the provided
parameters. To perform execution, call the
executemethod on the fluent helper object.
-
jobAbort
Deprecated.Description copied from interface:ExternalJobSchedulerIntegrationServiceCreates a fluent helper for the JobAbort OData function import.
- Specified by:
jobAbortin interfaceExternalJobSchedulerIntegrationService- Parameters:
jobRunCount- Constraints: Not nullable, Maximum length: 14Original parameter name from the Odata EDM: JobRunCount
jobName- Constraints: Not nullable, Maximum length: 32Original parameter name from the Odata EDM: JobName
- Returns:
- A fluent helper object that will execute the JobAbort OData function import with the provided
parameters. To perform execution, call the
executemethod on the fluent helper object.
-
jobStatusGet
@Nonnull public JobStatusGetFluentHelper jobStatusGet(@Nonnull String jobName, @Nonnull String jobRunCount) Deprecated.Description copied from interface:ExternalJobSchedulerIntegrationServiceCreates a fluent helper for the JobStatusGet OData function import.
- Specified by:
jobStatusGetin interfaceExternalJobSchedulerIntegrationService- Parameters:
jobName- Constraints: noneOriginal parameter name from the Odata EDM: JobName
jobRunCount- Constraints: noneOriginal parameter name from the Odata EDM: JobRunCount
- Returns:
- A fluent helper object that will execute the JobStatusGet OData function import with the provided
parameters. To perform execution, call the
executemethod on the fluent helper object.
-