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

public class RestWorkFlowTask extends BaseWorkFlowTask
  • Constructor Details

    • RestWorkFlowTask

      public RestWorkFlowTask()
  • Method Details

    • getWorkFlowTaskParameters

      @NonNull public @NonNull List<WorkParameter> getWorkFlowTaskParameters()
    • getWorkFlowTaskOutputs

      @NonNull public @NonNull List<WorkFlowTaskOutput> 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