Class GetAnalysisTask

All Implemented Interfaces:
WorkFlowTask, com.redhat.parodos.workflows.work.Work, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

public class GetAnalysisTask extends BaseInfrastructureWorkFlowTask
GetAnalysisTask gets analysis task from the MTA. This task returns the taskgroup details, including state of the analysis task and the url of the report if the task is in state succeeded.
  • Field Details

    • mtaClient

      protected com.redhat.parodos.tasks.migrationtoolkit.MTATaskGroupClient mtaClient
  • Constructor Details

  • Method Details

    • getWorkFlowTaskParameters

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

      public com.redhat.parodos.workflows.work.WorkReport execute(com.redhat.parodos.workflows.work.WorkContext workContext)
      Parameters:
      workContext - optional context values: serverURL, and bearerToken for the mtaClient.