Class JiraTicketApprovalWorkFlowCheckerTask
- java.lang.Object
-
- com.redhat.parodos.workflow.task.BaseWorkFlowTask
-
- com.redhat.parodos.workflow.task.checker.BaseWorkFlowCheckerTask
-
- com.redhat.parodos.examples.ocponboarding.checker.JiraTicketApprovalWorkFlowCheckerTask
-
- All Implemented Interfaces:
WorkFlowTask,Work,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
public class JiraTicketApprovalWorkFlowCheckerTask extends BaseWorkFlowCheckerTask
An example of a task that calls a Jira Endpoint with a BasicAuth Header- Author:
- Richard Wang (Github: richardW98)
-
-
Constructor Summary
Constructors Constructor Description JiraTicketApprovalWorkFlowCheckerTask(WorkFlow jiraTicketApprovalEscalationWorkFlow, long sla, String jiraServiceBaseUrl, String jiraUsername, String jiraPassword)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkReportcheckWorkFlowStatus(WorkContext workContext)Executed by the InfrastructureTask engine as part of the WorkflowList<WorkFlowTaskOutput>getWorkFlowTaskOutputs()-
Methods inherited from class com.redhat.parodos.workflow.task.checker.BaseWorkFlowCheckerTask
execute, 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
-
checkWorkFlowStatus
public WorkReport checkWorkFlowStatus(WorkContext workContext)
Executed by the InfrastructureTask engine as part of the Workflow- Specified by:
checkWorkFlowStatusin classBaseWorkFlowCheckerTask
-
getWorkFlowTaskOutputs
public List<WorkFlowTaskOutput> getWorkFlowTaskOutputs()
-
-