public class JobStatusGetFluentHelper extends Object
Constructor and Description |
---|
JobStatusGetFluentHelper(String jobName,
String jobRunCount)
Creates a fluent helper object that will execute the JobStatusGet OData function import with the provided parameters.
|
Modifier and Type | Method and Description |
---|---|
JobScheduleStatus |
execute()
The default ERP configuration context will be used.
|
JobScheduleStatus |
execute(ErpConfigContext erpConfigContext) |
JobScheduleStatus |
execute(ErpEndpoint erpEndpoint) |
public JobStatusGetFluentHelper(String jobName, String jobRunCount)
execute
method on the fluent helper object.jobName
- Constraints: nonejobRunCount
- Constraints: nonepublic JobScheduleStatus execute(ErpEndpoint erpEndpoint) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException, IOException
erpEndpoint
- Supply the ERP system instance for executing the underlying OData query.com.sap.cloud.sdk.odatav2.connectivity.ODataException
IOException
ErpConfigContext.ErpConfigContext()
,
ErpEndpoint.ErpEndpoint(ErpConfigContext)
public JobScheduleStatus execute(ErpConfigContext erpConfigContext) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException, IOException
erpConfigContext
- Supply the ERP system context for executing the underlying OData query.com.sap.cloud.sdk.odatav2.connectivity.ODataException
IOException
ErpConfigContext.ErpConfigContext()
,
ErpEndpoint.ErpEndpoint(ErpConfigContext)
public JobScheduleStatus execute() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException, IOException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
IOException
ErpConfigContext.ErpConfigContext()
,
ErpEndpoint.ErpEndpoint(ErpConfigContext)
Copyright © 2017 SAP SE. All rights reserved.