Package com.skava.feed.event
Class ScheduleBatchRequest
java.lang.Object
com.skava.feed.event.ScheduleBatchRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSpringJobUrl
(String url) construct spring batch job url path . it will construct the job path with necessary datamakeBatchRequest
(String url, JobScheduleRequest request, ScheduleDO scheduleDO) It will make requst to batchprocessing and return the feedjobbatchresponses.
-
Constructor Details
-
ScheduleBatchRequest
public ScheduleBatchRequest()
-
-
Method Details
-
makeBatchRequest
public FeedJobBatchResponse makeBatchRequest(String url, JobScheduleRequest request, ScheduleDO scheduleDO) It will make requst to batchprocessing and return the feedjobbatchresponses. makeBatchRequest - Constructs Request Body and makes request to spring batch services- Parameters:
url
- request urlrequest
- bodyscheduleDO
- info- Returns:
- reaponse body
-
getSpringJobUrl
construct spring batch job url path . it will construct the job path with necessary data
- Parameters:
url
- Request url- Returns:
- String Url
-