Class JiraTicketCreationWorkFlowTask
- java.lang.Object
-
- com.redhat.parodos.workflow.task.BaseWorkFlowTask
-
- com.redhat.parodos.workflow.task.infrastructure.BaseInfrastructureWorkFlowTask
-
- com.redhat.parodos.examples.ocponboarding.task.JiraTicketCreationWorkFlowTask
-
- All Implemented Interfaces:
WorkFlowTask,Work,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
public class JiraTicketCreationWorkFlowTask extends BaseInfrastructureWorkFlowTask
An example of a task that calls a Jira Endpoint with a BasicAuth Header- Author:
- Richard Wang (Github: richardW98)
-
-
Constructor Summary
Constructors Constructor Description JiraTicketCreationWorkFlowTask(String jiraServiceBaseUrl, String jiraUsername, String jiraPassword, String approverId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkReportexecute(WorkContext workContext)Executed by the InfrastructureTask engine as part of the WorkflowList<WorkFlowTaskOutput>getWorkFlowTaskOutputs()-
Methods inherited from class com.redhat.parodos.workflow.task.infrastructure.BaseInfrastructureWorkFlowTask
getType
-
Methods inherited from class com.redhat.parodos.workflow.task.BaseWorkFlowTask
addParameter, getAllParameters, getMainExecutionId, getName, getOptionalParameterValue, getProjectId, getRequiredParameterValue, getWorkFlowCheckers, setBeanName, setWorkFlowCheckers
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.redhat.parodos.workflow.task.WorkFlowTask
getAsJsonSchema, getWorkFlowTaskParameters
-
-
-
-
Method Detail
-
execute
public WorkReport execute(WorkContext workContext)
Executed by the InfrastructureTask engine as part of the Workflow
-
getWorkFlowTaskOutputs
public List<WorkFlowTaskOutput> getWorkFlowTaskOutputs()
-
-