com.redhat.parodos.examples.complex.checker.NamespaceApprovalWorkFlowCheckerTask Maven / Gradle / Ivy
package com.redhat.parodos.examples.complex.checker;
import java.util.Collections;
import java.util.List;
import com.redhat.parodos.workflow.parameter.WorkParameter;
import com.redhat.parodos.workflow.task.checker.BaseWorkFlowCheckerTask;
import com.redhat.parodos.workflow.task.enums.WorkFlowTaskOutput;
import com.redhat.parodos.workflows.work.DefaultWorkReport;
import com.redhat.parodos.workflows.work.WorkContext;
import com.redhat.parodos.workflows.work.WorkReport;
import com.redhat.parodos.workflows.work.WorkStatus;
import lombok.extern.slf4j.Slf4j;
@Slf4j
public class NamespaceApprovalWorkFlowCheckerTask extends BaseWorkFlowCheckerTask {
@Override
public WorkReport checkWorkFlowStatus(WorkContext workContext) {
log.info("NamespaceApprovalWorkFlowCheckerTask");
return new DefaultWorkReport(WorkStatus.COMPLETED, workContext);
}
@Override
public List getWorkFlowTaskParameters() {
return Collections.emptyList();
}
@Override
public List getWorkFlowTaskOutputs() {
return Collections.emptyList();
}
}