public class JobScheduleFluentHelper extends Object
Constructor and Description |
---|
JobScheduleFluentHelper(String jobUserID,
String jobUserName,
String jobText,
String jobTemplateName,
String jobParameterValues,
Boolean testModeInd,
String jobUser)
Creates a fluent helper object that will execute the JobSchedule 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 JobScheduleFluentHelper(String jobUserID, String jobUserName, String jobText, String jobTemplateName, String jobParameterValues, Boolean testModeInd, String jobUser)
execute
method on the fluent helper object.testModeInd
- IndicatorConstraints: Nullable
jobText
- Constraints: Not nullable, Maximum length: 120jobUserName
- Constraints: Nullable, Maximum length: 12jobParameterValues
- Constraints: NullablejobUser
- Constraints: Nullable, Maximum length: 40jobUserID
- Constraints: Nullable, Maximum length: 40jobTemplateName
- Constraints: Not nullable, Maximum length: 40public 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.