Package com.redhat.parodos.tasks.rest
Class RestWorkFlowTask
java.lang.Object
com.redhat.parodos.workflow.task.BaseWorkFlowTask
com.redhat.parodos.tasks.rest.RestWorkFlowTask
- All Implemented Interfaces:
WorkFlowTask,com.redhat.parodos.workflows.work.Work,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
-
Field Summary
Fields inherited from class com.redhat.parodos.workflow.task.BaseWorkFlowTask
taskLogger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.http.HttpHeadersbuildHttpHeaders(com.redhat.parodos.workflows.work.WorkContext workContext) protected org.springframework.http.HttpEntity<String>buildRequestEntity(com.redhat.parodos.workflows.work.WorkContext workContext) com.redhat.parodos.workflows.work.WorkReportexecute(com.redhat.parodos.workflows.work.WorkContext workContext) @NonNull List<WorkFlowTaskOutput>@NonNull List<WorkParameter>protected voidprocessResponseEntity(com.redhat.parodos.workflows.work.WorkContext workContext, org.springframework.http.ResponseEntity<String> responseEntity) Methods inherited from class com.redhat.parodos.workflow.task.BaseWorkFlowTask
addAdditionInfo, addParameter, getAllParameters, getMainExecutionId, getName, getOptionalParameterValue, getOptionalParameterValue, getProjectId, getRequiredParameterValue, getWorkFlowCheckers, preExecute, setBeanName, setWorkFlowCheckersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.redhat.parodos.workflow.task.WorkFlowTask
getAsJsonSchema
-
Constructor Details
-
RestWorkFlowTask
public RestWorkFlowTask()
-
-
Method Details
-
getWorkFlowTaskParameters
-
getWorkFlowTaskOutputs
-
execute
public com.redhat.parodos.workflows.work.WorkReport execute(com.redhat.parodos.workflows.work.WorkContext workContext) -
processResponseEntity
protected void processResponseEntity(com.redhat.parodos.workflows.work.WorkContext workContext, org.springframework.http.ResponseEntity<String> responseEntity) throws org.springframework.web.client.RestClientException - Throws:
org.springframework.web.client.RestClientException
-
buildRequestEntity
protected org.springframework.http.HttpEntity<String> buildRequestEntity(com.redhat.parodos.workflows.work.WorkContext workContext) throws org.springframework.web.client.RestClientException - Throws:
org.springframework.web.client.RestClientException
-
buildHttpHeaders
protected org.springframework.http.HttpHeaders buildHttpHeaders(com.redhat.parodos.workflows.work.WorkContext workContext) throws org.springframework.web.client.RestClientException - Throws:
org.springframework.web.client.RestClientException
-