Class CreateApplicationTask
java.lang.Object
com.redhat.parodos.workflow.task.BaseWorkFlowTask
com.redhat.parodos.workflow.task.infrastructure.BaseInfrastructureWorkFlowTask
com.redhat.parodos.tasks.migrationtoolkit.CreateApplicationTask
- All Implemented Interfaces:
WorkFlowTask,com.redhat.parodos.workflows.work.Work,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
CreateApplicationTask Creates an application under the application inventory
with the details of the source repository to scan.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.redhat.parodos.tasks.migrationtoolkit.MTAApplicationClientFields inherited from class com.redhat.parodos.workflow.task.BaseWorkFlowTask
taskLogger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.redhat.parodos.workflows.work.WorkReportexecute(com.redhat.parodos.workflows.work.WorkContext workContext) Methods inherited from class com.redhat.parodos.workflow.task.infrastructure.BaseInfrastructureWorkFlowTask
getTypeMethods inherited from class com.redhat.parodos.workflow.task.BaseWorkFlowTask
addParameter, getAllParameters, getMainExecutionId, getName, 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, getWorkFlowTaskOutputs, getWorkFlowTaskParameters
-
Field Details
-
mtaClient
protected com.redhat.parodos.tasks.migrationtoolkit.MTAApplicationClient mtaClient
-
-
Constructor Details
-
CreateApplicationTask
public CreateApplicationTask() -
CreateApplicationTask
-
-
Method Details
-
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.
-