Class JobScheduleFluentHelper
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic<FluentHelperT,ObjectT,ResultT>
com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperFunction<FluentHelperT,ObjectT,ResultT>
com.sap.cloud.sdk.datamodel.odata.helper.SingleValuedFluentHelperFunction<JobScheduleFluentHelper,JobScheduleStatus,JobScheduleStatus>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.externaljobschedulerintegration.JobScheduleFluentHelper
- All Implemented Interfaces:
FluentHelperExecutable<Object>
public class JobScheduleFluentHelper
extends SingleValuedFluentHelperFunction<JobScheduleFluentHelper,JobScheduleStatus,JobScheduleStatus>
Fluent helper for the JobSchedule OData function import.
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
csrfTokenRetriever, entityCollection -
Constructor Summary
ConstructorsConstructorDescriptionJobScheduleFluentHelper(String servicePath, 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. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.http.client.methods.HttpUriRequestcreateRequest(URI uri) executeRequest(HttpDestinationProperties destination) Execute this function import.protected Class<JobScheduleStatus>protected Stringprotected com.google.gson.JsonElementrefineJsonResponse(com.google.gson.JsonElement jsonElement) Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperFunction
executeMultiple, executeSingle, getCsrfTokenRetriever, toRequest, withCsrfToken, withoutCsrfTokenMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.FluentHelperBasic
getHeaders, getParametersForRequestOnly, getServicePath, getThis, withHeader, withHeaders, withQueryParameter
-
Constructor Details
-
JobScheduleFluentHelper
public JobScheduleFluentHelper(@Nonnull String servicePath, @Nullable String jobUserID, @Nullable String jobUserName, @Nonnull String jobText, @Nonnull String jobTemplateName, @Nullable String jobParameterValues, @Nullable Boolean testModeInd, @Nullable String jobUser) Creates a fluent helper object that will execute the JobSchedule OData function import with the provided parameters. To perform execution, call theexecuteRequestmethod on the fluent helper object.- Parameters:
testModeInd- IndicatorConstraints: Nullable
Original parameter name from the Odata EDM: TestModeInd
jobText- Constraints: Not nullable, Maximum length: 120Original parameter name from the Odata EDM: JobText
jobUserName- Constraints: Nullable, Maximum length: 12Original parameter name from the Odata EDM: JobUserName
jobParameterValues- Constraints: NullableOriginal parameter name from the Odata EDM: JobParameterValues
jobUser- Constraints: Nullable, Maximum length: 40Original parameter name from the Odata EDM: JobUser
servicePath- Service path to be used to call the functions against.jobUserID- Constraints: Nullable, Maximum length: 40Original parameter name from the Odata EDM: JobUserID
jobTemplateName- Constraints: Not nullable, Maximum length: 40Original parameter name from the Odata EDM: JobTemplateName
-
-
Method Details
-
getEntityClass
- Specified by:
getEntityClassin classFluentHelperBasic<JobScheduleFluentHelper,JobScheduleStatus, JobScheduleStatus>
-
getFunctionName
- Specified by:
getFunctionNamein classFluentHelperFunction<JobScheduleFluentHelper,JobScheduleStatus, JobScheduleStatus>
-
refineJsonResponse
@Nullable protected com.google.gson.JsonElement refineJsonResponse(@Nullable com.google.gson.JsonElement jsonElement) - Overrides:
refineJsonResponsein classFluentHelperFunction<JobScheduleFluentHelper,JobScheduleStatus, JobScheduleStatus>
-
getParameters
- Specified by:
getParametersin classFluentHelperFunction<JobScheduleFluentHelper,JobScheduleStatus, JobScheduleStatus>
-
createRequest
- Specified by:
createRequestin classFluentHelperFunction<JobScheduleFluentHelper,JobScheduleStatus, JobScheduleStatus>
-
executeRequest
Execute this function import.- Specified by:
executeRequestin interfaceFluentHelperExecutable<Object>- Specified by:
executeRequestin classFluentHelperBasic<JobScheduleFluentHelper,JobScheduleStatus, JobScheduleStatus>
-